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 ofMetadataIndexKeyrepresenting a single SAML metadata endpoint.
-
-
Field Summary
Fields Modifier and Type Field Description private StringcanonicalizedLocationThe canonicalized location.private QNameendpointThe endpoint type.private booleanisCanonicalizedLowerCaseFlag indicating whether canonicalized location is the simple lower case fallback strategy.private StringlocationThe location.private org.slf4j.LoggerlogLogger.private booleanresponseRespone location flag.private QNameroleThe role type.
-
Constructor Summary
Constructors Constructor Description EndpointMetadataIndexKey(QName roleType, QName endpointType, String endpointLocation, boolean isResponse)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetCanonicalizedLocation()Get the canonicalized representation of the location, primarily for use inhashCode()andequals(Object).QNamegetEndpointType()Gets the entity endpoint type.StringgetLocation()Gets the location.QNamegetRoleType()Gets the entity role.inthashCode()booleanisResponse()Gets the response location flag.StringtoString()
-
-
-
Field Detail
-
log
private final org.slf4j.Logger log
Logger.
-
role
@Nonnull private final QName role
The role type.
-
endpoint
@Nonnull private final QName endpoint
The endpoint type.
-
location
@Nonnull private final String location
The location.
-
response
private final boolean response
Respone location flag.
-
canonicalizedLocation
@Nonnull private String canonicalizedLocation
The canonicalized location.
-
isCanonicalizedLowerCase
private boolean isCanonicalizedLowerCase
Flag indicating whether canonicalized location is the simple lower case fallback strategy.
-
-
Constructor Detail
-
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 Detail
-
getRoleType
@Nonnull public QName getRoleType()
Gets the entity role.- Returns:
- the entity role
-
getEndpointType
@Nonnull public QName getEndpointType()
Gets the entity endpoint type.- Returns:
- the endpoint type
-
getLocation
@Nonnull public String 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
@Nonnull public String getCanonicalizedLocation()
Get the canonicalized representation of the location, primarily for use inhashCode()andequals(Object).- Returns:
- the canonicalized source location
-
-