|
||||||||||
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.EvaluableKeyAlgorithmCredentialCriteria
public class EvaluableKeyAlgorithmCredentialCriteria
Instance of evaluable credential criteria for evaluating the credential key algorithm.
Field Summary | |
---|---|
private String |
keyAlgorithm
Base criteria. |
private Logger |
log
Logger. |
Constructor Summary | |
---|---|
EvaluableKeyAlgorithmCredentialCriteria(KeyAlgorithmCriteria criteria)
Constructor. |
|
EvaluableKeyAlgorithmCredentialCriteria(String newKeyAlgorithm)
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 String keyAlgorithm
Constructor Detail |
---|
public EvaluableKeyAlgorithmCredentialCriteria(KeyAlgorithmCriteria criteria)
criteria
- the criteria which is the basis for evaluationpublic EvaluableKeyAlgorithmCredentialCriteria(String newKeyAlgorithm)
newKeyAlgorithm
- 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 |