TokenType
- the token type this trust engine evaluatespublic class ChainingTrustEngine<TokenType> extends Object implements TrustEngine<TokenType>
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)
Validates the token against trusted information obtained in an
implementation-specific manner.
|
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>
token
- security token to validatetrustBasisCriteria
- criteria used to describe and/or resolve the information
which serves as the basis for trust evaluationSecurityException
- thrown if there is a problem validating the security tokenCopyright © 2019. All rights reserved.