org.picketlink.identity.federation.web.handlers.saml2
Class SAML2AttributeHandler
java.lang.Object
org.picketlink.identity.federation.web.handlers.saml2.BaseSAML2Handler
org.picketlink.identity.federation.web.handlers.saml2.SAML2AttributeHandler
- All Implemented Interfaces:
- SAML2Handler
public class SAML2AttributeHandler
- extends BaseSAML2Handler
Handler dealing with attributes for SAML2
Configuration for handler:
- ATTRIBUTE_MANAGER: a fqn of the attribute manager class. This is an IDP setting.
- ATTRIBUTE_KEYS: a comma separated list of string values representing attributes to be sent. IDP setting.
- ATTRIBUTE_CHOOSE_FRIENDLY_NAME : set to true if you require attributes to be keyed by friendly name rather than default
name. SP Setting.
- Since:
- Oct 12, 2009
- Author:
- Anil.Saldhana@redhat.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
attribManager
protected AttributeManager attribManager
attributeKeys
protected List<String> attributeKeys
chooseFriendlyName
protected boolean chooseFriendlyName
SAML2AttributeHandler
public SAML2AttributeHandler()
initChainConfig
public void initChainConfig(SAML2HandlerChainConfig handlerChainConfig)
throws ConfigurationException
- Description copied from interface:
SAML2Handler
- Initialize the handler
- Specified by:
initChainConfig
in interface SAML2Handler
- Overrides:
initChainConfig
in class BaseSAML2Handler
- Throws:
ConfigurationException
initHandlerConfig
public void initHandlerConfig(SAML2HandlerConfig handlerConfig)
throws ConfigurationException
- Description copied from class:
BaseSAML2Handler
- Initialize the handler
- Specified by:
initHandlerConfig
in interface SAML2Handler
- Overrides:
initHandlerConfig
in class BaseSAML2Handler
- Throws:
ConfigurationException
handleRequestType
public void handleRequestType(SAML2HandlerRequest request,
SAML2HandlerResponse response)
throws ProcessingException
- Description copied from interface:
SAML2Handler
- Handle a SAML2 RequestAbstractType
- Throws:
ProcessingException
handleStatusResponseType
public void handleStatusResponseType(SAML2HandlerRequest request,
SAML2HandlerResponse response)
throws ProcessingException
- Description copied from interface:
SAML2Handler
- Handle a SAML2 Status Response Type
- Specified by:
handleStatusResponseType
in interface SAML2Handler
- Overrides:
handleStatusResponseType
in class BaseSAML2Handler
- Throws:
ProcessingException
- See Also:
SAML2Handler#handleStatusResponseType(SAML2HandlerRequest, SAML2HandlerResponse)}
handleIDPResponse
protected void handleIDPResponse(SAML2HandlerRequest request)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.