public class EvaluableKeyLengthCredentialCriteria extends Object implements EvaluableCredentialCriteria
Constructor and Description |
---|
EvaluableKeyLengthCredentialCriteria(Integer newKeyLength)
Constructor.
|
EvaluableKeyLengthCredentialCriteria(KeyLengthCriteria criteria)
Constructor.
|
public EvaluableKeyLengthCredentialCriteria(KeyLengthCriteria criteria)
criteria
- the criteria which is the basis for evaluationpublic EvaluableKeyLengthCredentialCriteria(Integer newKeyLength)
newKeyLength
- 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 © 2018 JBoss by Red Hat. All rights reserved.