public class EvaluableKeyAlgorithmCredentialCriterion extends AbstractTriStatePredicate<Credential> implements EvaluableCredentialCriterion
Modifier and Type | Field and Description |
---|---|
private String |
keyAlgorithm
Base criteria.
|
private org.slf4j.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() |
isNullInputSatisfies, isUnevaluableSatisfies, setNullInputSatisfies, setUnevaluableSatisfies
private final org.slf4j.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 Predicate<Credential>
@Nullable private Key getKey(@Nonnull Credential credential)
credential
- the credential containing a keyCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.