public class SamlAuthenticationRequestFilter extends SamlFilter<ServiceProviderService>
Constructor and Description |
---|
SamlAuthenticationRequestFilter(SamlProviderProvisioning<ServiceProviderService> provisioning) |
SamlAuthenticationRequestFilter(SamlProviderProvisioning<ServiceProviderService> provisioning,
org.springframework.security.web.util.matcher.RequestMatcher requestMatcher) |
Modifier and Type | Method and Description |
---|---|
protected void |
doFilterInternal(HttpServletRequest request,
HttpServletResponse response,
FilterChain filterChain) |
protected IdentityProviderMetadata |
getIdentityProvider(ServiceProviderService provider,
String idpIdentifier) |
String |
getPostTemplate() |
protected String |
getRelayState(ServiceProviderService provider,
HttpServletRequest request) |
protected void |
sendAuthenticationRequest(ServiceProviderService provider,
HttpServletRequest request,
HttpServletResponse response,
AuthenticationRequest authenticationRequest,
Endpoint location) |
SamlAuthenticationRequestFilter |
setCacheHeaderWriter(org.springframework.security.web.header.HeaderWriter cacheHeaderWriter) |
SamlAuthenticationRequestFilter |
setPostTemplate(String postTemplate) |
getCacheHeaderWriter, getErrorTemplate, getProvisioning, getSamlTemplateEngine, processHtml, setErrorTemplate, setSamlTemplateEngine
doFilter, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatch
public SamlAuthenticationRequestFilter(SamlProviderProvisioning<ServiceProviderService> provisioning)
public SamlAuthenticationRequestFilter(SamlProviderProvisioning<ServiceProviderService> provisioning, org.springframework.security.web.util.matcher.RequestMatcher requestMatcher)
public SamlAuthenticationRequestFilter setCacheHeaderWriter(org.springframework.security.web.header.HeaderWriter cacheHeaderWriter)
protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain) throws ServletException, IOException
doFilterInternal
in class org.springframework.web.filter.OncePerRequestFilter
ServletException
IOException
protected IdentityProviderMetadata getIdentityProvider(ServiceProviderService provider, String idpIdentifier)
protected void sendAuthenticationRequest(ServiceProviderService provider, HttpServletRequest request, HttpServletResponse response, AuthenticationRequest authenticationRequest, Endpoint location) throws IOException
IOException
protected String getRelayState(ServiceProviderService provider, HttpServletRequest request)
public String getPostTemplate()
public SamlAuthenticationRequestFilter setPostTemplate(String postTemplate)