Package org.opensaml.saml.criterion
Class EndpointCriterion<EndpointType extends Endpoint>
- java.lang.Object
-
- org.opensaml.saml.criterion.EndpointCriterion<EndpointType>
-
-
Field Summary
Fields Modifier and Type Field Description private EndpointTypeendpointThe endpoint.private booleantrustedIs this endpoint implicitly trusted?
-
Constructor Summary
Constructors Constructor Description EndpointCriterion(EndpointType ep)Constructor.EndpointCriterion(EndpointType ep, boolean trust)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)EndpointTypegetEndpoint()Get the endpoint.inthashCode()booleanisTrusted()Get the trust indicator for the endpoint.StringtoString()
-
-
-
Field Detail
-
trusted
private final boolean trusted
Is this endpoint implicitly trusted?
-
endpoint
@Nonnull private final EndpointType extends Endpoint endpoint
The endpoint.
-
-
Constructor Detail
-
EndpointCriterion
public EndpointCriterion(@Nonnull EndpointType ep)Constructor.Endpoint is not implicitly trusted.
- Parameters:
ep- the endpoint
-
EndpointCriterion
public EndpointCriterion(@Nonnull EndpointType ep, boolean trust)Constructor.- Parameters:
ep- the endpointtrust- if true, the endpoint should be implicitly trusted regardless of verification by other criteria
-
-
Method Detail
-
getEndpoint
@Nonnull public EndpointType 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
-
-