public abstract class AbstractSAML2Handler extends AbstractPicketLinkTrustHandler
Base class for SAML handlers implementations. A default implementation is provided by the SAML2Handler class.
| Modifier and Type | Field and Description |
|---|---|
static String |
ROLE_KEY_SYS_PROP |
AUTHZ_MGR_LOOKUP, headers, logger, SEC_MGR_LOOKUP| Constructor and Description |
|---|
AbstractSAML2Handler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createSecurityContext(org.picketlink.identity.federation.core.wstrust.SamlCredential credential,
Subject theSubject,
Principal principal)
Subclasses can override this method to customize how the security context is created.
|
protected boolean |
handleInbound(MessageContext msgContext)
Retrieves the SAML assertion from the SOAP payload and lets invocation go to JAAS for validation.
|
protected boolean |
handleOutbound(MessageContext msgContext)
It expects a
Element assertion as the value of the SAML2Constants.SAML2_ASSERTION_PROPERTY property. |
close, getAssertionFromSubject, getHeaders, getSecurityDomainName, getSecurityHeaderElement, getServletContext, getUsername, handleFault, handleMessage, lookupJNDI, tracepublic static final String ROLE_KEY_SYS_PROP
protected boolean handleInbound(MessageContext msgContext)
handleInbound in class AbstractPicketLinkTrustHandlerprotected void createSecurityContext(org.picketlink.identity.federation.core.wstrust.SamlCredential credential,
Subject theSubject,
Principal principal)
Subclasses can override this method to customize how the security context is created.
credential - theSubject - principal - protected boolean handleOutbound(MessageContext msgContext)
Element assertion as the value of the SAML2Constants.SAML2_ASSERTION_PROPERTY property. This
assertion is then included in the SOAP payload.handleOutbound in class AbstractPicketLinkTrustHandlerCopyright © 2013. All Rights Reserved.