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 org.slf4j.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 private final org.slf4j.Logger log
@Nonnull @NonnullElements private List<TrustEngine<? super TokenType>> engines
public ChainingTrustEngine(@Nonnull 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>
SecurityException
Copyright © 1999–2020 Shibboleth Consortium. All rights reserved.