|
||||||||||
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.EvaluableKeyLengthCredentialCriteria
public class EvaluableKeyLengthCredentialCriteria
Instance of evaluable credential criteria for evaluating the credential key length.
Field Summary | |
---|---|
private Integer |
keyLength
Base criteria. |
private Logger |
log
Logger. |
Constructor Summary | |
---|---|
EvaluableKeyLengthCredentialCriteria(Integer newKeyLength)
Constructor. |
|
EvaluableKeyLengthCredentialCriteria(KeyLengthCriteria criteria)
Constructor. |
Method Summary | |
---|---|
Boolean |
evaluate(Credential target)
Evaluate the target. |
private Key |
getKey(Credential credential)
Get the key contained within the credential. |
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 Integer keyLength
Constructor Detail |
---|
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 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
private Key getKey(Credential credential)
credential
- the credential containing a key
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |