ProductType - the type of output produced by the resolverpublic abstract class AbstractSecurityParametersResolver<ProductType> extends Object implements Resolver<ProductType,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,
String keyInfoProfileName)
Resolve a
KeyInfoGenerator instance based on a NamedKeyInfoGeneratorManager,
Credential and optional KeyInfo generation profile name. |
protected void |
resolveAndPopulateWhiteAndBlacklists(WhitelistBlacklistParameters params,
CriteriaSet criteria,
List<? extends WhitelistBlacklistConfiguration> configs)
Resolve and populate the effective whitelist or blacklist on the supplied instance of
WhitelistBlacklistParameters. |
protected Collection<String> |
resolveEffectiveBlacklist(CriteriaSet criteria,
List<? extends WhitelistBlacklistConfiguration> configs)
Resolve and return the effective algorithm blacklist based on supplied configuration.
|
protected Collection<String> |
resolveEffectiveWhitelist(CriteriaSet criteria,
List<? extends WhitelistBlacklistConfiguration> configs)
Resolve and return the effective algorithm whitelist based on supplied configuration.
|
protected WhitelistBlacklistConfiguration.Precedence |
resolveWhitelistBlacklistPrecedence(CriteriaSet criteria,
List<? extends WhitelistBlacklistConfiguration> configs)
Resolve and return the effective algorithm whitelist/blacklist precedence based
on supplied configuration.
|
protected com.google.common.base.Predicate<String> |
resolveWhitelistBlacklistPredicate(CriteriaSet criteria,
List<? extends WhitelistBlacklistConfiguration> configs)
Get a predicate which operates according to the effective configured whitelist and blacklist policy.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresolve, resolveSingle@Nullable protected KeyInfoGenerator lookupKeyInfoGenerator(@Nonnull Credential credential, @Nullable NamedKeyInfoGeneratorManager manager, @Nullable 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 CriteriaSet criteria, @Nonnull@NonnullElements@NotEmpty 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<String> resolveWhitelistBlacklistPredicate(@Nonnull CriteriaSet criteria, @Nonnull@NonnullElements@NotEmpty List<? extends WhitelistBlacklistConfiguration> configs)
criteria - the input criteria being evaluatedconfigs - the effective list of WhitelistBlacklistConfiguration instances to consider@Nonnull protected Collection<String> resolveEffectiveBlacklist(@Nonnull CriteriaSet criteria, @Nonnull@NonnullElements@NotEmpty List<? extends WhitelistBlacklistConfiguration> configs)
criteria - the input criteria being evaluatedconfigs - the effective list of WhitelistBlacklistConfiguration instances to consider@Nonnull protected Collection<String> resolveEffectiveWhitelist(@Nonnull CriteriaSet criteria, @Nonnull@NonnullElements@NotEmpty List<? extends WhitelistBlacklistConfiguration> configs)
criteria - the input criteria being evaluatedconfigs - the effective list of WhitelistBlacklistConfiguration instances to consider@Nonnull protected WhitelistBlacklistConfiguration.Precedence resolveWhitelistBlacklistPrecedence(@Nonnull CriteriaSet criteria, @Nonnull@NonnullElements@NotEmpty List<? extends WhitelistBlacklistConfiguration> configs)
criteria - the input criteria being evaluatedconfigs - the effective list of WhitelistBlacklistConfiguration instances to considerCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.