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 for
AbstractSaml2AuthenticationRequest
- Since:
- 5.6
-
Method Summary
Modifier and TypeMethodDescriptionloadAuthenticationRequest
(jakarta.servlet.http.HttpServletRequest request) Loads theAbstractSaml2AuthenticationRequest
from the requestremoveAuthenticationRequest
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Removes the authentication request using theHttpServletRequest
andHttpServletResponse
void
saveAuthenticationRequest
(T authenticationRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Saves the current authentication request using theHttpServletRequest
andHttpServletResponse
-
Method Details
-
loadAuthenticationRequest
Loads theAbstractSaml2AuthenticationRequest
from the request- Parameters:
request
- the current request- Returns:
- the
AbstractSaml2AuthenticationRequest
ornull
if it is not present
-
saveAuthenticationRequest
void saveAuthenticationRequest(T authenticationRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.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(jakarta.servlet.http.HttpServletRequest request, jakarta.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
-