public class DecryptAttributes extends AbstractDecryptAction
EncryptedAttribute element and replace it with the decrypted
Attribute in situ.
All of the built-in SAML message types that may include an EncryptedAttribute are
potentially handled, but the actual message to handle is obtained via strategy function, by
default the inbound message.
| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Class logger.
|
| Constructor and Description |
|---|
DecryptAttributes() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute(ProfileRequestContext profileRequestContext) |
private void |
processAssertion(ProfileRequestContext profileRequestContext,
Assertion assertion)
Decrypt any
EncryptedAttribute found in an assertion and replace it with the result. |
private Attribute |
processEncryptedAttribute(ProfileRequestContext profileRequestContext,
EncryptedAttribute encAttr)
Decrypt an
EncryptedAttribute and return the result. |
doPreExecute, getDecrypter, getDecryptionPredicate, getSAMLObject, isErrorFatal, setDecryptionPredicate, setErrorFatal, setMessageLookupStrategy, setSecurityParametersContextLookupStrategydoPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletResponse, getLogPrefix, setHttpServletRequest, setHttpServletResponsedestroy, doDestroy, doInitialize, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialize, isInitialized@Nonnull private final org.slf4j.Logger log
protected void doExecute(@Nonnull ProfileRequestContext profileRequestContext)
doExecute in class AbstractProfileAction@Nullable private Attribute processEncryptedAttribute(@Nonnull ProfileRequestContext profileRequestContext, @Nonnull EncryptedAttribute encAttr) throws org.opensaml.xmlsec.encryption.support.DecryptionException
EncryptedAttribute and return the result.profileRequestContext - current profile request contextencAttr - the encrypted objectorg.opensaml.xmlsec.encryption.support.DecryptionException - if an error occurs during decryptionprivate void processAssertion(@Nonnull ProfileRequestContext profileRequestContext, @Nonnull Assertion assertion) throws org.opensaml.xmlsec.encryption.support.DecryptionException
EncryptedAttribute found in an assertion and replace it with the result.profileRequestContext - current profile request contextassertion - assertion to operate onorg.opensaml.xmlsec.encryption.support.DecryptionException - if an error occursCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.