EndpointType - the type of endpointpublic final class EndpointCriterion<EndpointType extends Endpoint>
extends java.lang.Object
implements net.shibboleth.utilities.java.support.resolver.Criterion
Criterion representing a SAML metadata endpoint object.| Modifier and Type | Field and Description |
|---|---|
private EndpointType |
endpoint
The endpoint.
|
private boolean |
trusted
Is this endpoint implicitly trusted?
|
| Constructor and Description |
|---|
EndpointCriterion(EndpointType ep,
boolean trust)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
EndpointType |
getEndpoint()
Get the endpoint.
|
int |
hashCode() |
boolean |
isTrusted()
Get the trust indicator for the endpoint.
|
java.lang.String |
toString() |
private final boolean trusted
@Nonnull private final EndpointType extends Endpoint endpoint
public EndpointCriterion(@Nonnull
EndpointType ep,
boolean trust)
ep - the endpointtrust - if true, the endpoint should be implicitly trusted regardless of verification by other criteria@Nonnull public EndpointType getEndpoint()
public boolean isTrusted()
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 class java.lang.Object