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
.
SAML2Handler.HANDLER_TYPE
SIGN_ASSERTION_ONLY, SIGN_DIGEST, SIGN_METHOD, SIGN_RESPONSE_AND_ASSERTION
handlerChainConfig, handlerConfig, logger
ASSERTION_CONSUMER_URL, CLOCK_SKEW_MILIS, DISABLE_AUTHN_STATEMENT, DISABLE_ROLE_PICKING, DISABLE_SENDING_ROLES, ROLE_KEY, USE_MULTI_VALUED_ROLES
Constructor and Description |
---|
SAML2EncryptionHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handleRequestType(SAML2HandlerRequest request,
SAML2HandlerResponse response)
Handle a SAML2 RequestAbstractType
|
generateSAMLRequest, handleStatusResponseType
isSupportsSignature
checkDestination, checkDestination, getHttpRequest, getHttpSession, getProviderconfig, getType, initChainConfig, initHandlerConfig, reset
public void handleRequestType(SAML2HandlerRequest request, SAML2HandlerResponse response) throws ProcessingException
SAML2Handler
handleRequestType
in interface SAML2Handler
handleRequestType
in class SAML2SignatureGenerationHandler
ProcessingException
Copyright © 2019 JBoss by Red Hat. All rights reserved.