Class EvaluableKeyIDCredentialCriterion
- java.lang.Object
-
- net.shibboleth.utilities.java.support.logic.AbstractTriStatePredicate<Credential>
-
- net.shibboleth.oidc.security.credential.impl.EvaluableKeyIDCredentialCriterion
-
- All Implemented Interfaces:
Predicate<Credential>,Predicate<Credential>,Criterion,EvaluableCredentialCriterion
public class EvaluableKeyIDCredentialCriterion extends AbstractTriStatePredicate<Credential> implements EvaluableCredentialCriterion
Instance of evaluable credential criteria for evaluating credential key IDs.- Since:
- 2.2.0
-
-
Constructor Summary
Constructors Constructor Description EvaluableKeyIDCredentialCriterion(String newKeyId)Constructor.EvaluableKeyIDCredentialCriterion(KeyIdCriterion criteria)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetKeyId()Get the keyId.inthashCode()booleantest(Credential target)StringtoString()-
Methods inherited from class net.shibboleth.utilities.java.support.logic.AbstractTriStatePredicate
isNullInputSatisfies, isUnevaluableSatisfies, setNullInputSatisfies, setUnevaluableSatisfies
-
-
-
-
Field Detail
-
log
private final org.slf4j.Logger log
Logger.
-
keyId
private final String keyId
Base criteria.
-
-
Constructor Detail
-
EvaluableKeyIDCredentialCriterion
public EvaluableKeyIDCredentialCriterion(@Nonnull KeyIdCriterion criteria)Constructor.- Parameters:
criteria- the criteria which is the basis for evaluation
-
EvaluableKeyIDCredentialCriterion
public EvaluableKeyIDCredentialCriterion(@Nonnull String newKeyId)Constructor.- Parameters:
newKeyId- the criteria value which is the basis for evaluation
-
-
Method Detail
-
getKeyId
@Nonnull public String getKeyId()
Get the keyId.- Returns:
- the keyId
-
test
public boolean test(@Nullable Credential target)- Specified by:
testin interfacePredicate<Credential>
-
-