public abstract class BaseSAML2Handler extends Object implements SAML2Handler
SAML2Handler.HANDLER_TYPE| Modifier and Type | Field and Description |
|---|---|
protected SAML2HandlerChainConfig |
handlerChainConfig |
protected SAML2HandlerConfig |
handlerConfig |
protected SAML2Handler.HANDLER_TYPE |
handlerType |
ASSERTION_CONSUMER_URL, CLOCK_SKEW_MILIS, DISABLE_AUTHN_STATEMENT, DISABLE_ROLE_PICKING, DISABLE_SENDING_ROLES, ROLE_KEY| Constructor and Description |
|---|
BaseSAML2Handler() |
| Modifier and Type | Method and Description |
|---|---|
void |
generateSAMLRequest(SAML2HandlerRequest request,
SAML2HandlerResponse response)
Generate a SAML Request to be sent to the IDP if the handler is invoked at the SP and vice-versa
|
static HttpServletRequest |
getHttpRequest(SAML2HandlerRequest request) |
static HttpSession |
getHttpSession(SAML2HandlerRequest request) |
SAML2Handler.HANDLER_TYPE |
getType()
Get the type of handler - handler at IDP or SP
|
void |
handleStatusResponseType(SAML2HandlerRequest request,
SAML2HandlerResponse response)
Handle a SAML2 Status Response Type
|
void |
initChainConfig(SAML2HandlerChainConfig handlerChainConfig)
Initialize the handler
|
void |
initHandlerConfig(SAML2HandlerConfig handlerConfig)
Initialize the handler
|
void |
reset()
Shed all state
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleRequestTypeprotected SAML2HandlerConfig handlerConfig
protected SAML2HandlerChainConfig handlerChainConfig
protected SAML2Handler.HANDLER_TYPE handlerType
public void initHandlerConfig(SAML2HandlerConfig handlerConfig) throws ConfigurationException
initHandlerConfig in interface SAML2Handleroptions - ConfigurationExceptionpublic void initChainConfig(SAML2HandlerChainConfig handlerChainConfig) throws ConfigurationException
SAML2HandlerinitChainConfig in interface SAML2HandlerConfigurationExceptionpublic SAML2Handler.HANDLER_TYPE getType()
getType in interface SAML2Handlerpublic void reset()
throws ProcessingException
SAML2Handlerreset in interface SAML2HandlerProcessingExceptionpublic void generateSAMLRequest(SAML2HandlerRequest request, SAML2HandlerResponse response) throws ProcessingException
SAML2HandlergenerateSAMLRequest in interface SAML2HandlerProcessingExceptionSAML2Handler.generateSAMLRequest(SAML2HandlerRequest, SAML2HandlerResponse)public void handleStatusResponseType(SAML2HandlerRequest request, SAML2HandlerResponse response) throws ProcessingException
SAML2HandlerhandleStatusResponseType in interface SAML2HandlerProcessingExceptionSAML2Handler#handleStatusResponseType(SAML2HandlerRequest, SAML2HandlerResponse)}public static HttpServletRequest getHttpRequest(SAML2HandlerRequest request)
public static HttpSession getHttpSession(SAML2HandlerRequest request)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.