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 String
The canonicalized location.private final QName
The endpoint type.private boolean
Flag indicating whether canonicalized location is the simple lower case fallback strategy.private final String
The location.private final org.slf4j.Logger
Logger.private final boolean
Respone location flag.private final QName
The role type. -
Constructor Summary
ConstructorsConstructorDescriptionEndpointMetadataIndexKey
(QName roleType, QName endpointType, String endpointLocation, boolean isResponse) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Get the canonicalized representation of the location, primarily for use inhashCode()
andequals(Object)
.Gets the entity endpoint type.Gets the location.Gets the entity role.int
hashCode()
boolean
Gets the response location flag.toString()
-
Field Details
-
log
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
-