public class DefaultMetadataHandler extends DefaultSamlMessageHandler<DefaultMetadataHandler>
SamlMessageHandler.ProcessingStatus
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
LOCAL_PROVIDER |
logger
Constructor and Description |
---|
DefaultMetadataHandler() |
Modifier and Type | Method and Description |
---|---|
protected Metadata |
getMetadata(javax.servlet.http.HttpServletRequest request,
LocalProviderConfiguration provider) |
protected boolean |
internalSupports(javax.servlet.http.HttpServletRequest request,
LocalProviderConfiguration provider) |
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 Metadata getMetadata(javax.servlet.http.HttpServletRequest request, LocalProviderConfiguration provider)
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<DefaultMetadataHandler>
request
- - the incoming requestSamlMessageHandler.process(HttpServletRequest, HttpServletResponse)
method to be invoked.protected boolean internalSupports(javax.servlet.http.HttpServletRequest request, LocalProviderConfiguration provider)