|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensaml.xml.security.credential.criteria.EvaluablePublicKeyCredentialCriteria
public class EvaluablePublicKeyCredentialCriteria
Instance of evaluable credential criteria for evaluating whether a credential contains a particular public key.
Field Summary | |
---|---|
private Logger |
log
Logger. |
private PublicKey |
publicKey
Base criteria. |
Constructor Summary | |
---|---|
EvaluablePublicKeyCredentialCriteria(PublicKey newPublicKey)
Constructor. |
|
EvaluablePublicKeyCredentialCriteria(PublicKeyCriteria criteria)
Constructor. |
Method Summary | |
---|---|
Boolean |
evaluate(Credential target)
Evaluate the target. |
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 PublicKey publicKey
Constructor Detail |
---|
public EvaluablePublicKeyCredentialCriteria(PublicKeyCriteria criteria)
criteria
- the criteria which is the basis for evaluationpublic EvaluablePublicKeyCredentialCriteria(PublicKey newPublicKey)
newPublicKey
- the criteria value which is the basis for evaluationMethod Detail |
---|
public Boolean evaluate(Credential target)
Boolean.TRUE
if the target satisfies the criteriaBoolean.FALSE
if the target does not satisfy criterianull
if the target can not be evaluated against the criteria
evaluate
in interface EvaluableCriteria<Credential>
target
- the object to be evaluated
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |