public class EvaluablePublicKeyCredentialCriterion extends net.shibboleth.utilities.java.support.logic.AbstractTriStatePredicate<Credential> implements EvaluableCredentialCriterion
| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Logger.
|
private java.security.PublicKey |
publicKey
Base criteria.
|
| Constructor and Description |
|---|
EvaluablePublicKeyCredentialCriterion(java.security.PublicKey newPublicKey)
Constructor.
|
EvaluablePublicKeyCredentialCriterion(PublicKeyCriterion criteria)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(Credential target) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
private final org.slf4j.Logger log
private final java.security.PublicKey publicKey
public EvaluablePublicKeyCredentialCriterion(@Nonnull
PublicKeyCriterion criteria)
criteria - the criteria which is the basis for evaluationpublic EvaluablePublicKeyCredentialCriterion(@Nonnull
java.security.PublicKey newPublicKey)
newPublicKey - the criteria value which is the basis for evaluation@Nullable
public boolean apply(@Nullable
Credential target)
apply in interface com.google.common.base.Predicate<Credential>public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in interface com.google.common.base.Predicate<Credential>equals in class java.lang.Object