public class DefaultAuthnRequestHandler extends DefaultSamlMessageHandler<DefaultAuthnRequestHandler>
SamlMessageHandler.ProcessingStatus
logger
Constructor and Description |
---|
DefaultAuthnRequestHandler() |
Modifier and Type | Method and Description |
---|---|
protected AuthenticationRequest |
getAuthenticationRequest(ServiceProviderMetadata local,
IdentityProviderMetadata idp) |
protected java.lang.String |
getAuthnRequestRedirect(IdentityProviderMetadata m,
AuthenticationRequest authenticationRequest) |
protected java.lang.String |
getEncodedAuthnRequestValue(AuthenticationRequest authenticationRequest) |
SamlMessageHandler.ProcessingStatus |
process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Processes a SAML message an potentially produces a response.
|
boolean |
supports(javax.servlet.http.HttpServletRequest request)
returns true if the the
SamlMessageHandler.process(HttpServletRequest, HttpServletResponse) method
should be invoked. |
_this, getConfiguration, getErrorMessage, getErrorStatus, getErrorTemplate, getExpectedPath, getForwardUrl, getIdentityProvider, getLocalIdentityProvider, getLocalServiceProvider, getNetwork, getResolver, getSamlDefaults, getSamlTemplateEngine, getServiceProvider, getTransformer, handleError, isMatchAgainstAliasPath, isUrlMatch, isUrlMatch, processHtml, setConfiguration, setErrorTemplate, setForwardUrl, setMatchAgainstAliasPath, setNetwork, setResolver, setSamlDefaults, setSamlTemplateEngine, setTransformer
public SamlMessageHandler.ProcessingStatus process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
SamlMessageHandler
request
- - the incoming HTTP requestresponse
- - the outgoing HTTP responsejava.io.IOException
- - per servlet specification
Filter.doFilter(ServletRequest, ServletResponse, FilterChain)
protected AuthenticationRequest getAuthenticationRequest(ServiceProviderMetadata local, IdentityProviderMetadata idp)
protected java.lang.String getAuthnRequestRedirect(IdentityProviderMetadata m, AuthenticationRequest authenticationRequest) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
protected java.lang.String getEncodedAuthnRequestValue(AuthenticationRequest authenticationRequest) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
public boolean supports(javax.servlet.http.HttpServletRequest request)
SamlMessageHandler
SamlMessageHandler.process(HttpServletRequest, HttpServletResponse)
method
should be invoked.supports
in interface SamlMessageHandler
supports
in class DefaultSamlMessageHandler<DefaultAuthnRequestHandler>
request
- - the incoming requestSamlMessageHandler.process(HttpServletRequest, HttpServletResponse)
method to be invoked.