public class URLResourceName extends BaseURLResourceName<ResourceMatch,EntitlementException> implements ResourceName
PrefixResourceName
to provide special handling to
URL type prefix resource names in canonicalize
method
like validating port, assigning default port of 80, if port absent etc.comparator
caseSensitive, debug, delimiter, exactMatch, noMatch, oneLevelWildcard, oneLevelWildcardEmbedded, oneLevelWildcardLength, subResourceMatch, superResourceMatch, wildcard, wildcardEmbedded, wildcardLength, wildcardMatch
Constructor and Description |
---|
URLResourceName()
empty no argument constructor.
|
Modifier and Type | Method and Description |
---|---|
protected EntitlementException |
constructResourceInvalidException(Object[] args)
Construct the exception that will be thrown if the resource is invalid during canonicalize.
|
protected String |
normalizeRequestResource(String requestResource)
If further normalization of
requestResource is required during comparison, it can be added here. |
protected String |
normalizeTargetResource(String targetResource)
If further normalization of
targetResource is required during comparison, it can be added here. |
canonicalize, compare
append, getServiceTypeNames, getSubResource, initialize, oneLevelWildcardCompare, split
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
append, canonicalize, compare, getServiceTypeNames, getSubResource, initialize, split
protected EntitlementException constructResourceInvalidException(Object[] args)
BasePrefixResourceName
constructResourceInvalidException
in class BasePrefixResourceName<ResourceMatch,EntitlementException>
args
- The exception arguments.protected String normalizeRequestResource(String requestResource)
BasePrefixResourceName
requestResource
is required during comparison, it can be added here.normalizeRequestResource
in class BasePrefixResourceName<ResourceMatch,EntitlementException>
requestResource
- The target resource from the compare method.protected String normalizeTargetResource(String targetResource)
BasePrefixResourceName
targetResource
is required during comparison, it can be added here.normalizeTargetResource
in class BasePrefixResourceName<ResourceMatch,EntitlementException>
targetResource
- The target resource from the compare method.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.