org.opensaml.xml.security.credential.criteria
public class EvaluablePublicKeyCredentialCriteria extends Object implements EvaluableCredentialCriteria
Modifier and Type | Field and Description |
---|---|
private Logger |
log
Logger.
|
private PublicKey |
publicKey
Base criteria.
|
Constructor and Description |
---|
EvaluablePublicKeyCredentialCriteria(PublicKey newPublicKey)
Constructor.
|
EvaluablePublicKeyCredentialCriteria(PublicKeyCriteria criteria)
Constructor.
|
private final Logger log
private PublicKey publicKey
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 evaluationpublic 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 criteriaevaluate
in interface EvaluableCriteria<Credential>
target
- the object to be evaluatedCopyright © 1999-2014 JBoss by Red Hat. All Rights Reserved.