public class SelfEncryptionConfigurationLookupFunction extends Object implements com.google.common.base.Function<ProfileRequestContext,List<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 EncryptionConfiguration |
selfConfig
The self-encryption configuration.
|
| Constructor and Description |
|---|
SelfEncryptionConfigurationLookupFunction() |
| Modifier and Type | Method and Description |
|---|---|
List<EncryptionConfiguration> |
apply(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(EncryptionConfiguration config)
Set the self-encryption configuration.
|
@Nullable private 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 EncryptionConfiguration config)
config - the self-encryption EncryptionConfigurationpublic void setIncludeProfileDefaultConfiguration(boolean flag)
flag - true if profile default should be included, false otherwise@Nullable public List<EncryptionConfiguration> apply(@Nullable ProfileRequestContext input)
apply in interface com.google.common.base.Function<ProfileRequestContext,List<EncryptionConfiguration>>Copyright © 1999–2018 Shibboleth Consortium. All rights reserved.