Class EndpointMetadataIndex.EndpointMetadataIndexKey
java.lang.Object
org.opensaml.saml.metadata.resolver.index.impl.EndpointMetadataIndex.EndpointMetadataIndexKey
- All Implemented Interfaces:
MetadataIndexKey
- Enclosing class:
- EndpointMetadataIndex
protected static class EndpointMetadataIndex.EndpointMetadataIndexKey
extends Object
implements MetadataIndexKey
An implementation of
MetadataIndexKey representing a single SAML metadata endpoint.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringThe canonicalized location.private final QNameThe endpoint type.private booleanFlag indicating whether canonicalized location is the simple lower case fallback strategy.private final StringThe location.private final org.slf4j.LoggerLogger.private final booleanRespone location flag.private final QNameThe role type. -
Constructor Summary
ConstructorsConstructorDescriptionEndpointMetadataIndexKey(QName roleType, QName endpointType, String endpointLocation, boolean isResponse) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the canonicalized representation of the location, primarily for use inhashCode()andequals(Object).Gets the entity endpoint type.Gets the location.Gets the entity role.inthashCode()booleanGets the response location flag.toString()
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logLogger. -
role
The role type. -
endpoint
The endpoint type. -
location
The location. -
response
private final boolean responseRespone location flag. -
canonicalizedLocation
The canonicalized location. -
isCanonicalizedLowerCase
private boolean isCanonicalizedLowerCaseFlag indicating whether canonicalized location is the simple lower case fallback strategy.
-
-
Constructor Details
-
EndpointMetadataIndexKey
public EndpointMetadataIndexKey(@Nonnull QName roleType, @Nonnull QName endpointType, @Nonnull @NotEmpty String endpointLocation, boolean isResponse) Constructor.- Parameters:
roleType- the role typeendpointType- the endpoint typeendpointLocation- the endpoint locationisResponse- flag indicating whether location is a response or not
-
-
Method Details
-
getRoleType
Gets the entity role.- Returns:
- the entity role
-
getEndpointType
Gets the entity endpoint type.- Returns:
- the endpoint type
-
getLocation
Gets the location.- Returns:
- the location
-
isResponse
public boolean isResponse()Gets the response location flag.- Returns:
- true if endpoint is a response location, false otherwise
-
getCanonicalizedLocation
Get the canonicalized representation of the location, primarily for use inhashCode()andequals(Object).- Returns:
- the canonicalized source location
-
toString
-
hashCode
public int hashCode() -
equals
-