ProductType - the type of output produced by the resolverpublic abstract class AbstractSecurityParametersResolver<ProductType>
extends java.lang.Object
implements net.shibboleth.utilities.java.support.resolver.Resolver<ProductType,net.shibboleth.utilities.java.support.resolver.CriteriaSet>
| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Logger.
|
| Constructor and Description |
|---|
AbstractSecurityParametersResolver() |
| Modifier and Type | Method and Description |
|---|---|
protected KeyInfoGenerator |
lookupKeyInfoGenerator(Credential credential,
NamedKeyInfoGeneratorManager manager,
java.lang.String keyInfoProfileName)
Resolve a
KeyInfoGenerator instance based on a NamedKeyInfoGeneratorManager,
Credential and optional KeyInfo generation profile name. |
protected void |
resolveAndPopulateWhiteAndBlacklists(WhitelistBlacklistParameters params,
net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria,
java.util.List<? extends WhitelistBlacklistConfiguration> configs)
Resolve and populate the effective whitelist or blacklist on the supplied instance of
WhitelistBlacklistParameters. |
protected java.util.Collection<java.lang.String> |
resolveEffectiveBlacklist(net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria,
java.util.List<? extends WhitelistBlacklistConfiguration> configs)
Resolve and return the effective algorithm blacklist based on supplied configuration.
|
protected java.util.Collection<java.lang.String> |
resolveEffectiveWhitelist(net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria,
java.util.List<? extends WhitelistBlacklistConfiguration> configs)
Resolve and return the effective algorithm whitelist based on supplied configuration.
|
protected WhitelistBlacklistConfiguration.Precedence |
resolveWhitelistBlacklistPrecedence(net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria,
java.util.List<? extends WhitelistBlacklistConfiguration> configs)
Resolve and return the effective algorithm whitelist/blacklist precedence based
on supplied configuration.
|
protected com.google.common.base.Predicate<java.lang.String> |
resolveWhitelistBlacklistPredicate(net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria,
java.util.List<? extends WhitelistBlacklistConfiguration> configs)
Get a predicate which operates according to the effective configured whitelist and blacklist policy.
|
@Nullable protected KeyInfoGenerator lookupKeyInfoGenerator(@Nonnull Credential credential, @Nullable NamedKeyInfoGeneratorManager manager, @Nullable java.lang.String keyInfoProfileName)
KeyInfoGenerator instance based on a NamedKeyInfoGeneratorManager,
Credential and optional KeyInfo generation profile name.credential - the credential for which a KeyInfo generator is neededmanager - the named KeyInfo generator manager instancekeyInfoProfileName - KeyInfo generation profile nameprotected void resolveAndPopulateWhiteAndBlacklists(@Nonnull
WhitelistBlacklistParameters params,
@Nonnull
net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria,
@Nonnull @NonnullElements @NotEmpty
java.util.List<? extends WhitelistBlacklistConfiguration> configs)
WhitelistBlacklistParameters.params - the whitelist/blacklist parameters instance to populatecriteria - the input criteria being evaluatedconfigs - the effective list of WhitelistBlacklistConfiguration instances to consider@Nonnull
protected com.google.common.base.Predicate<java.lang.String> resolveWhitelistBlacklistPredicate(@Nonnull
net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria,
@Nonnull @NonnullElements @NotEmpty
java.util.List<? extends WhitelistBlacklistConfiguration> configs)
criteria - the input criteria being evaluatedconfigs - the effective list of WhitelistBlacklistConfiguration instances to consider@Nonnull
protected java.util.Collection<java.lang.String> resolveEffectiveBlacklist(@Nonnull
net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria,
@Nonnull @NonnullElements @NotEmpty
java.util.List<? extends WhitelistBlacklistConfiguration> configs)
criteria - the input criteria being evaluatedconfigs - the effective list of WhitelistBlacklistConfiguration instances to consider@Nonnull
protected java.util.Collection<java.lang.String> resolveEffectiveWhitelist(@Nonnull
net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria,
@Nonnull @NonnullElements @NotEmpty
java.util.List<? extends WhitelistBlacklistConfiguration> configs)
criteria - the input criteria being evaluatedconfigs - the effective list of WhitelistBlacklistConfiguration instances to consider@Nonnull protected WhitelistBlacklistConfiguration.Precedence resolveWhitelistBlacklistPrecedence(@Nonnull net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria, @Nonnull @NonnullElements @NotEmpty java.util.List<? extends WhitelistBlacklistConfiguration> configs)
criteria - the input criteria being evaluatedconfigs - the effective list of WhitelistBlacklistConfiguration instances to consider