mirror of
https://github.com/spring-projects/spring-security.git
synced 2026-03-12 01:24:53 +00:00
Merge branch '7.0.x'
This commit is contained in:
commit
ddb825f7a5
@ -53,6 +53,7 @@ public final class CacheSaml2AuthenticationRequestRepository
|
||||
@Override
|
||||
public void saveAuthenticationRequest(@Nullable AbstractSaml2AuthenticationRequest authenticationRequest,
|
||||
HttpServletRequest request, HttpServletResponse response) {
|
||||
Assert.notNull(authenticationRequest, "authenticationRequest must not be null");
|
||||
String relayState = request.getParameter(Saml2ParameterNames.RELAY_STATE);
|
||||
Assert.notNull(relayState, "relayState must not be null");
|
||||
this.cache.put(relayState, authenticationRequest);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user