PicketLink Federation Core 2.1.6.Final-redhat-2

org.picketlink.identity.federation.web.handlers.saml2
Class SAML2EncryptionHandler

java.lang.Object
  extended by org.picketlink.identity.federation.web.handlers.saml2.BaseSAML2Handler
      extended by org.picketlink.identity.federation.web.handlers.saml2.AbstractSignatureHandler
          extended by org.picketlink.identity.federation.web.handlers.saml2.SAML2SignatureGenerationHandler
              extended by org.picketlink.identity.federation.web.handlers.saml2.SAML2EncryptionHandler
All Implemented Interfaces:
SAML2Handler

public class SAML2EncryptionHandler
extends SAML2SignatureGenerationHandler

Handles the encryption and signing of SAML Assertions.

This handler should be used only on the IDP side and it must be positioned after the SAML2AuthenticationHandler in the chain.

Configuration options are: GeneralConstants.SAML_ENC_KEY_SIZE and GeneralConstants.SAML_ENC_ALGORITHM.

Author:
Pedro Silva

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.picketlink.identity.federation.core.saml.v2.interfaces.SAML2Handler
SAML2Handler.HANDLER_TYPE
 
Field Summary
 
Fields inherited from class org.picketlink.identity.federation.web.handlers.saml2.BaseSAML2Handler
handlerChainConfig, handlerConfig, handlerType, 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
SAML2EncryptionHandler()
           
 
Method Summary
 void handleRequestType(SAML2HandlerRequest request, SAML2HandlerResponse response)
          Handle a SAML2 RequestAbstractType
 
Methods inherited from class org.picketlink.identity.federation.web.handlers.saml2.SAML2SignatureGenerationHandler
generateSAMLRequest, handleStatusResponseType
 
Methods inherited from class org.picketlink.identity.federation.web.handlers.saml2.AbstractSignatureHandler
isSupportsSignature
 
Methods inherited from class org.picketlink.identity.federation.web.handlers.saml2.BaseSAML2Handler
getHttpRequest, getHttpSession, getType, initChainConfig, initHandlerConfig, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAML2EncryptionHandler

public SAML2EncryptionHandler()
Method Detail

handleRequestType

public void handleRequestType(SAML2HandlerRequest request,
                              SAML2HandlerResponse response)
                       throws ProcessingException
Description copied from interface: SAML2Handler
Handle a SAML2 RequestAbstractType

Specified by:
handleRequestType in interface SAML2Handler
Overrides:
handleRequestType in class SAML2SignatureGenerationHandler
Throws:
ProcessingException

PicketLink Federation Core 2.1.6.Final-redhat-2

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.