|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensaml.xml.security.trust.ChainingTrustEngine<TokenType>
TokenType
- the token type this trust engine evaluatespublic class ChainingTrustEngine<TokenType>
Evaluate a token in sequence using a chain of subordinate trust engines. If the token may be established as trusted by any of the subordinate engines, the token is considered trusted. Otherwise it is considered untrusted.
Field Summary | |
---|---|
private List<TrustEngine<TokenType>> |
engines
The chain of subordinate trust engines. |
private Logger |
log
Class logger. |
Constructor Summary | |
---|---|
ChainingTrustEngine()
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final Logger log
private List<TrustEngine<TokenType>> engines
Constructor Detail |
---|
public ChainingTrustEngine()
Method Detail |
---|
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 evaluation
SecurityException
- thrown if there is a problem validating the security token
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |