Interface Saml2AuthenticationRequestRepository<T extends AbstractSaml2AuthenticationRequest>
- Type Parameters:
T- the type of SAML 2.0 Authentication Request
- All Known Implementing Classes:
CacheSaml2AuthenticationRequestRepository,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 theAbstractSaml2AuthenticationRequestfrom the requestremoveAuthenticationRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Removes the authentication request using theHttpServletRequestandHttpServletResponsevoidsaveAuthenticationRequest(T authenticationRequest, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Saves the current authentication request using theHttpServletRequestandHttpServletResponse
-
Method Details
-
loadAuthenticationRequest
Loads theAbstractSaml2AuthenticationRequestfrom the request- Parameters:
request- the current request- Returns:
- the
AbstractSaml2AuthenticationRequestornullif 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 theHttpServletRequestandHttpServletResponse- Parameters:
authenticationRequest- theAbstractSaml2AuthenticationRequestrequest- the current requestresponse- the current response
-
removeAuthenticationRequest
T removeAuthenticationRequest(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Removes the authentication request using theHttpServletRequestandHttpServletResponse- Parameters:
request- the current requestresponse- the current response- Returns:
- the removed
AbstractSaml2AuthenticationRequestornullif it is not present
-