org.opensaml.xml.security.credential.criteria
Class EvaluableX509CertSelectorCredentialCriteria
java.lang.Object
org.opensaml.xml.security.credential.criteria.EvaluableX509CertSelectorCredentialCriteria
- All Implemented Interfaces:
- EvaluableCredentialCriteria, Criteria, EvaluableCriteria<Credential>
public class EvaluableX509CertSelectorCredentialCriteria
- extends Object
- implements EvaluableCredentialCriteria
Instance of evaluable credential criteria for evaluating whether a credential's certificate meets the criteria
specified by an instance of X509CertSelector
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EvaluableX509CertSelectorCredentialCriteria
public EvaluableX509CertSelectorCredentialCriteria(X509CertSelector newSelector)
- Constructor.
- Parameters:
newSelector
- the new X509 cert selector
evaluate
public Boolean evaluate(Credential target)
- Evaluate the target.
The result of evaluation is one of the following values:
Boolean.TRUE
if the target satisfies the criteria
Boolean.FALSE
if the target does not satisfy criteria
null
if the target can not be evaluated against the criteria
- Specified by:
evaluate
in interface EvaluableCriteria<Credential>
- Parameters:
target
- the object to be evaluated
- Returns:
- the result of evaluation
Copyright © 2006-2011 Internet2. All Rights Reserved.