public class TrustedNamesCriterion
extends java.lang.Object
implements net.shibboleth.utilities.java.support.resolver.Criterion
PKIXValidationInformationResolver that supports trusted name resolution.| Modifier and Type | Field and Description |
|---|---|
private java.util.Set<java.lang.String> |
trustedNames
The set of trusted names.
|
| Constructor and Description |
|---|
TrustedNamesCriterion(java.util.Set<java.lang.String> names)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Set<java.lang.String> |
getTrustedNames()
Get the set of trusted names.
|
int |
hashCode() |
void |
setTrustedNames(java.util.Set<java.lang.String> names)
Set the set of trusted names.
|
java.lang.String |
toString() |
private java.util.Set<java.lang.String> trustedNames
public TrustedNamesCriterion(@Nonnull
java.util.Set<java.lang.String> names)
names - the set of trusted names@Nonnull @NonnullElements @NotLive @Unmodifiable public java.util.Set<java.lang.String> getTrustedNames()
public void setTrustedNames(@Nullable
java.util.Set<java.lang.String> names)
names - the new trusted namespublic 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 class java.lang.Object