|
PicketLink Federation Core 2.1.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.picketlink.identity.federation.web.handlers.saml2.BaseSAML2Handler
public abstract class BaseSAML2Handler
Base Class for SAML2 handlers
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.picketlink.identity.federation.core.saml.v2.interfaces.SAML2Handler |
---|
SAML2Handler.HANDLER_TYPE |
Field Summary | |
---|---|
protected SAML2HandlerChainConfig |
handlerChainConfig
|
protected SAML2HandlerConfig |
handlerConfig
|
protected SAML2Handler.HANDLER_TYPE |
handlerType
|
protected static PicketLinkLogger |
logger
|
Fields inherited from interface org.picketlink.identity.federation.core.saml.v2.interfaces.SAML2Handler |
---|
ASSERTION_CONSUMER_URL, CLOCK_SKEW_MILIS, DISABLE_AUTHN_STATEMENT, DISABLE_ROLE_PICKING, DISABLE_SENDING_ROLES, ROLE_KEY |
Constructor Summary | |
---|---|
BaseSAML2Handler()
|
Method Summary | |
---|---|
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 javax.servlet.http.HttpServletRequest |
getHttpRequest(SAML2HandlerRequest request)
|
static javax.servlet.http.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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.picketlink.identity.federation.core.saml.v2.interfaces.SAML2Handler |
---|
handleRequestType |
Field Detail |
---|
protected static final PicketLinkLogger logger
protected SAML2HandlerConfig handlerConfig
protected SAML2HandlerChainConfig handlerChainConfig
protected SAML2Handler.HANDLER_TYPE handlerType
Constructor Detail |
---|
public BaseSAML2Handler()
Method Detail |
---|
public void initHandlerConfig(SAML2HandlerConfig handlerConfig) throws ConfigurationException
initHandlerConfig
in interface SAML2Handler
options
-
ConfigurationException
public void initChainConfig(SAML2HandlerChainConfig handlerChainConfig) throws ConfigurationException
SAML2Handler
initChainConfig
in interface SAML2Handler
ConfigurationException
public SAML2Handler.HANDLER_TYPE getType()
getType
in interface SAML2Handler
public void reset() throws ProcessingException
SAML2Handler
reset
in interface SAML2Handler
ProcessingException
public void generateSAMLRequest(SAML2HandlerRequest request, SAML2HandlerResponse response) throws ProcessingException
SAML2Handler
generateSAMLRequest
in interface SAML2Handler
ProcessingException
SAML2Handler.generateSAMLRequest(SAML2HandlerRequest, SAML2HandlerResponse)
public void handleStatusResponseType(SAML2HandlerRequest request, SAML2HandlerResponse response) throws ProcessingException
SAML2Handler
handleStatusResponseType
in interface SAML2Handler
ProcessingException
SAML2Handler#handleStatusResponseType(SAML2HandlerRequest, SAML2HandlerResponse)}
public static javax.servlet.http.HttpServletRequest getHttpRequest(SAML2HandlerRequest request)
public static javax.servlet.http.HttpSession getHttpSession(SAML2HandlerRequest request)
|
PicketLink Federation Core 2.1.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |