public class EvaluableKeyAlgorithmCredentialCriterion extends net.shibboleth.utilities.java.support.logic.AbstractTriStatePredicate<Credential> implements EvaluableCredentialCriterion
| Modifier and Type | Field and Description |
|---|---|
private String |
keyAlgorithm
Base criteria.
|
private Logger |
log
Logger.
|
| Constructor and Description |
|---|
EvaluableKeyAlgorithmCredentialCriterion(KeyAlgorithmCriterion criteria)
Constructor.
|
EvaluableKeyAlgorithmCredentialCriterion(String newKeyAlgorithm)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(Credential target) |
boolean |
equals(Object obj) |
private Key |
getKey(Credential credential)
Get the key contained within the credential.
|
int |
hashCode() |
String |
toString() |
private final Logger log
private final String keyAlgorithm
public EvaluableKeyAlgorithmCredentialCriterion(@Nonnull KeyAlgorithmCriterion criteria)
criteria - the criteria which is the basis for evaluation@Nullable public boolean apply(@Nullable Credential target)
apply in interface com.google.common.base.Predicate<Credential>@Nullable private Key getKey(@Nonnull Credential credential)
credential - the credential containing a keypublic boolean equals(Object obj)
equals in interface com.google.common.base.Predicate<Credential>equals in class ObjectCopyright © 1999–2020 Shibboleth Consortium. All rights reserved.