Package org.opensaml.saml.criterion
Class EndpointCriterion<EndpointType extends Endpoint>
java.lang.Object
org.opensaml.saml.criterion.EndpointCriterion<EndpointType>
- Type Parameters:
EndpointType- the type of endpoint
- All Implemented Interfaces:
Criterion
public final class EndpointCriterion<EndpointType extends Endpoint>
extends Object
implements Criterion
Criterion representing a SAML metadata endpoint object.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final EndpointTypeThe endpoint.private final booleanIs this endpoint implicitly trusted? -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
trusted
private final boolean trustedIs this endpoint implicitly trusted? -
endpoint
The endpoint.
-
-
Constructor Details
-
EndpointCriterion
Constructor.Endpoint is not implicitly trusted.
- Parameters:
ep- the endpoint
-
EndpointCriterion
Constructor.- Parameters:
ep- the endpointtrust- if true, the endpoint should be implicitly trusted regardless of verification by other criteria
-
-
Method Details
-
getEndpoint
Get the endpoint.- Returns:
- the endpoint type
-
isTrusted
public boolean isTrusted()Get the trust indicator for the endpoint.- Returns:
- true iff the endpoint does not require independent verification against a trusted source of endpoints
-
toString
-
hashCode
public int hashCode() -
equals
-