ProductType
- the type of output produced by the resolverpublic abstract class AbstractSecurityParametersResolver<ProductType> extends Object implements net.shibboleth.utilities.java.support.resolver.Resolver<ProductType,net.shibboleth.utilities.java.support.resolver.CriteriaSet>
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,
net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria,
List<? extends WhitelistBlacklistConfiguration> configs)
Resolve and populate the effective whitelist or blacklist on the supplied instance of
WhitelistBlacklistParameters . |
protected Collection<String> |
resolveEffectiveBlacklist(net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria,
List<? extends WhitelistBlacklistConfiguration> configs)
Resolve and return the effective algorithm blacklist based on supplied configuration.
|
protected Collection<String> |
resolveEffectiveWhitelist(net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria,
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,
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(net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria,
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 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 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 net.shibboleth.utilities.java.support.resolver.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 net.shibboleth.utilities.java.support.resolver.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 net.shibboleth.utilities.java.support.resolver.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 net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria, @Nonnull @NonnullElements @NotEmpty List<? extends WhitelistBlacklistConfiguration> configs)
criteria
- the input criteria being evaluatedconfigs
- the effective list of WhitelistBlacklistConfiguration
instances to considerCopyright © 2017. All rights reserved.