URLResourceName
should be used in favour of this class ensuring the passed resources are
normalised via BaseURLResourceName.canonicalize(String)
.@Deprecated public class HttpURLResourceName extends URLResourceName
URLResourceName
which duplicates the behaviour of URLResourceName
that is used by the server when evaluation a policy request in self mode.
To help reduce the cost of upgrade this class has been modified to ensure it continues with eager normalisation of
resource URLs but otherwise delegates directly to its subclass URLResourceName
.comparator
caseSensitive, debug, delimiter, exactMatch, noMatch, oneLevelWildcard, oneLevelWildcardEmbedded, oneLevelWildcardLength, subResourceMatch, superResourceMatch, wildcard, wildcardEmbedded, wildcardLength, wildcardMatch
Constructor and Description |
---|
HttpURLResourceName()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ResourceMatch |
compare(String requestResource,
String targetResource,
boolean wildcardCompare)
Deprecated.
Specific comparison for URLs, where a wildcard in the host/port should not match any of the path.
|
constructResourceInvalidException
canonicalize
append, getServiceTypeNames, getSubResource, initialize, normalizeRequestResource, normalizeTargetResource, oneLevelWildcardCompare, split
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
append, canonicalize, getServiceTypeNames, getSubResource, initialize, split
public ResourceMatch compare(String requestResource, String targetResource, boolean wildcardCompare)
BaseURLResourceName
compare
in interface BaseResourceName<ResourceMatch,PolicyException>
compare
in class BaseURLResourceName<ResourceMatch,PolicyException>
requestResource
- name of the resource which will be comparedtargetResource
- name of the resource which will be compared withwildcardCompare
- flag for wildcard comparisonCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.