org.opensaml.xml.security.trust
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<TokenType>> |
engines
The chain of subordinate trust engines.
|
private Logger |
log
Class logger.
|
Constructor and Description |
---|
ChainingTrustEngine()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<TrustEngine<TokenType>> |
getChain()
Get the list of configured trust engines which constitute the trust evaluation chain.
|
boolean |
validate(TokenType token,
CriteriaSet trustBasisCriteria)
Validates the token against trusted information obtained in an
implementation-specific manner.
|
private final Logger log
private List<TrustEngine<TokenType>> engines
public List<TrustEngine<TokenType>> getChain()
public boolean validate(TokenType token, 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 © 1999-2014 JBoss by Red Hat. All Rights Reserved.