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,
CriteriaSet trustBasisCriteria) |
@Nonnull private final org.slf4j.Logger log
@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 CriteriaSet trustBasisCriteria) throws SecurityException
validate in interface TrustEngine<TokenType>SecurityExceptionCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.