TokenType - the token type this trust engine evaluatespublic class ChainingTrustEngine<TokenType> extends Object implements TrustEngine<TokenType>
| Modifier and Type | Field and Description |
|---|---|
private List<TrustEngine<? super TokenType>> |
engines
The chain of subordinate trust engines.
|
private Logger |
log
Class logger.
|
| Constructor and Description |
|---|
ChainingTrustEngine(List<TrustEngine<? super TokenType>> chain)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<TrustEngine<? super TokenType>> |
getChain()
Get the list of configured trust engines which constitute the trust evaluation chain.
|
boolean |
validate(TokenType token,
net.shibboleth.utilities.java.support.resolver.CriteriaSet trustBasisCriteria) |
@Nonnull @NonnullElements private List<TrustEngine<? super TokenType>> engines
public ChainingTrustEngine(@Nonnull@ParameterName(name="chain") List<TrustEngine<? super TokenType>> chain)
chain - the list of trust engines in the chain@Nonnull @NonnullElements @Unmodifiable @NotLive public List<TrustEngine<? super TokenType>> getChain()
public boolean validate(@Nonnull TokenType token, @Nullable net.shibboleth.utilities.java.support.resolver.CriteriaSet trustBasisCriteria) throws SecurityException
validate in interface TrustEngine<TokenType>SecurityExceptionCopyright © 1999–2020 Shibboleth Consortium. All rights reserved.