Interface Saml2AuthenticationRequestRepository<T extends AbstractSaml2AuthenticationRequest>
-
- Type Parameters:
T
- the type of SAML 2.0 Authentication Request
- All Known Implementing Classes:
HttpSessionSaml2AuthenticationRequestRepository
public interface Saml2AuthenticationRequestRepository<T extends AbstractSaml2AuthenticationRequest>
A repository forAbstractSaml2AuthenticationRequest
- Since:
- 5.6
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
loadAuthenticationRequest(javax.servlet.http.HttpServletRequest request)
Loads theAbstractSaml2AuthenticationRequest
from the requestT
removeAuthenticationRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Removes the authentication request using theHttpServletRequest
andHttpServletResponse
void
saveAuthenticationRequest(T authenticationRequest, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Saves the current authentication request using theHttpServletRequest
andHttpServletResponse
-
-
-
Method Detail
-
loadAuthenticationRequest
T loadAuthenticationRequest(javax.servlet.http.HttpServletRequest request)
Loads theAbstractSaml2AuthenticationRequest
from the request- Parameters:
request
- the current request- Returns:
- the
AbstractSaml2AuthenticationRequest
ornull
if it is not present
-
saveAuthenticationRequest
void saveAuthenticationRequest(T authenticationRequest, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Saves the current authentication request using theHttpServletRequest
andHttpServletResponse
- Parameters:
authenticationRequest
- theAbstractSaml2AuthenticationRequest
request
- the current requestresponse
- the current response
-
removeAuthenticationRequest
T removeAuthenticationRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Removes the authentication request using theHttpServletRequest
andHttpServletResponse
- Parameters:
request
- the current requestresponse
- the current response- Returns:
- the removed
AbstractSaml2AuthenticationRequest
ornull
if it is not present
-
-