public class SelfEncryptionConfigurationLookupFunction extends Object implements Function<org.opensaml.profile.context.ProfileRequestContext,List<org.opensaml.xmlsec.EncryptionConfiguration>>
EncryptionConfiguration list intended for self-encryption cases.
A self-specific EncryptionConfiguration may be supplied. This, if present will be composed
with the global config SecurityConfigurationSupport.getGlobalEncryptionConfiguration()
| Modifier and Type | Field and Description |
|---|---|
private boolean |
includeProfileDefaultConfiguration
Flag indicating whether the profile default configuration should be included in the returned list.
|
private RelyingPartyConfigurationResolver |
rpResolver
A resolver for default security configurations.
|
private org.opensaml.xmlsec.EncryptionConfiguration |
selfConfig
The self-encryption configuration.
|
| Constructor and Description |
|---|
SelfEncryptionConfigurationLookupFunction() |
| Modifier and Type | Method and Description |
|---|---|
List<org.opensaml.xmlsec.EncryptionConfiguration> |
apply(org.opensaml.profile.context.ProfileRequestContext input) |
void |
setIncludeProfileDefaultConfiguration(boolean flag)
Set the flag indicating whether the profile default configuration should be included in the returned list.
|
void |
setRelyingPartyConfigurationResolver(RelyingPartyConfigurationResolver resolver)
Set the resolver for default security configurations.
|
void |
setSelfConfiguration(org.opensaml.xmlsec.EncryptionConfiguration config)
Set the self-encryption configuration.
|
@Nullable private org.opensaml.xmlsec.EncryptionConfiguration selfConfig
@Nullable private RelyingPartyConfigurationResolver rpResolver
private boolean includeProfileDefaultConfiguration
public SelfEncryptionConfigurationLookupFunction()
public void setRelyingPartyConfigurationResolver(@Nullable RelyingPartyConfigurationResolver resolver)
resolver - the resolver to usepublic void setSelfConfiguration(@Nullable org.opensaml.xmlsec.EncryptionConfiguration config)
config - the self-encryption EncryptionConfigurationpublic void setIncludeProfileDefaultConfiguration(boolean flag)
flag - true if profile default should be included, false otherwiseCopyright © 1999–2017 Shibboleth Consortium. All rights reserved.