public class StandardSaml2AuthenticationRequestRepository extends Object implements org.springframework.security.saml2.provider.service.web.Saml2AuthenticationRequestRepository<org.springframework.security.saml2.provider.service.authentication.AbstractSaml2AuthenticationRequest>
| Modifier and Type | Field and Description |
|---|---|
private static ApplicationCookieService |
applicationCookieService |
private org.springframework.cache.Cache |
cache |
private static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
StandardSaml2AuthenticationRequestRepository(org.springframework.cache.Cache cache)
Standard SAML 2 Authentication Request Repository with Spring Cache abstraction
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.saml2.provider.service.authentication.AbstractSaml2AuthenticationRequest |
loadAuthenticationRequest(javax.servlet.http.HttpServletRequest request)
Load Authentication Request based on SAML Request Identifier cookies
|
org.springframework.security.saml2.provider.service.authentication.AbstractSaml2AuthenticationRequest |
removeAuthenticationRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Remove Authentication Request from cache and remove cookies
|
void |
saveAuthenticationRequest(org.springframework.security.saml2.provider.service.authentication.AbstractSaml2AuthenticationRequest authenticationRequest,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Save Authentication Request in cache and add cookies to HTTP responses
|
private static final org.slf4j.Logger logger
private static final ApplicationCookieService applicationCookieService
private final org.springframework.cache.Cache cache
public StandardSaml2AuthenticationRequestRepository(org.springframework.cache.Cache cache)
cache - Spring Cache for Authentication Requestspublic org.springframework.security.saml2.provider.service.authentication.AbstractSaml2AuthenticationRequest loadAuthenticationRequest(javax.servlet.http.HttpServletRequest request)
loadAuthenticationRequest in interface org.springframework.security.saml2.provider.service.web.Saml2AuthenticationRequestRepository<org.springframework.security.saml2.provider.service.authentication.AbstractSaml2AuthenticationRequest>request - HTTP Servlet Requestpublic void saveAuthenticationRequest(org.springframework.security.saml2.provider.service.authentication.AbstractSaml2AuthenticationRequest authenticationRequest,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
saveAuthenticationRequest in interface org.springframework.security.saml2.provider.service.web.Saml2AuthenticationRequestRepository<org.springframework.security.saml2.provider.service.authentication.AbstractSaml2AuthenticationRequest>authenticationRequest - Authentication Request to be savedrequest - HTTP Servlet Requestresponse - HTTP Servlet Responsepublic org.springframework.security.saml2.provider.service.authentication.AbstractSaml2AuthenticationRequest removeAuthenticationRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
removeAuthenticationRequest in interface org.springframework.security.saml2.provider.service.web.Saml2AuthenticationRequestRepository<org.springframework.security.saml2.provider.service.authentication.AbstractSaml2AuthenticationRequest>request - HTTP Servlet Requestresponse - HTTP Servlet ResponseCopyright © 2023 Apache NiFi Project. All rights reserved.