public class EvaluableEntityIDCredentialCriteria extends Object implements EvaluableCredentialCriteria
Modifier and Type | Field and Description |
---|---|
private String |
entityID
Base criteria.
|
private org.slf4j.Logger |
log
Logger.
|
Constructor and Description |
---|
EvaluableEntityIDCredentialCriteria(EntityIDCriteria criteria)
Constructor.
|
EvaluableEntityIDCredentialCriteria(String newEntityID)
Constructor.
|
private final org.slf4j.Logger log
private String entityID
public EvaluableEntityIDCredentialCriteria(EntityIDCriteria criteria)
criteria
- the criteria which is the basis for evaluationpublic EvaluableEntityIDCredentialCriteria(String newEntityID)
newEntityID
- 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–2017. All rights reserved.