|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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.
| Constructor Summary | |
|---|---|
ChainingTrustEngine()
Constructor. |
|
| Method Summary | |
|---|---|
java.util.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 |
| Constructor Detail |
|---|
public ChainingTrustEngine()
| Method Detail |
|---|
public java.util.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 | |||||||||