Package com.sun.identity.policy.plugins
Class URLResourceName
- java.lang.Object
-
- org.forgerock.openam.shared.resourcename.BasePrefixResourceName<T,E>
-
- org.forgerock.openam.shared.resourcename.BaseURLResourceName<ResourceMatch,PolicyException>
-
- com.sun.identity.policy.plugins.URLResourceName
-
- All Implemented Interfaces:
ResourceName,BaseResourceName<ResourceMatch,PolicyException>
- Direct Known Subclasses:
HttpURLResourceName
public class URLResourceName extends BaseURLResourceName<ResourceMatch,PolicyException> implements ResourceName
This plugin extends the functionality provided inPrefixResourceNameto provide special handling to URL type prefix resource names incanonicalizemethod like validating port, assigning default port of 80, if port absent etc.
-
-
Field Summary
-
Fields inherited from class org.forgerock.openam.shared.resourcename.BaseURLResourceName
comparator
-
Fields inherited from class org.forgerock.openam.shared.resourcename.BasePrefixResourceName
caseSensitive, debug, delimiter, exactMatch, noMatch, oneLevelWildcard, oneLevelWildcardEmbedded, oneLevelWildcardLength, subResourceMatch, superResourceMatch, wildcard, wildcardEmbedded, wildcardLength, wildcardMatch
-
-
Constructor Summary
Constructors Constructor Description URLResourceName()empty no argument constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected PolicyExceptionconstructResourceInvalidException(Object[] args)Construct the exception that will be thrown if the resource is invalid during canonicalize.-
Methods inherited from class org.forgerock.openam.shared.resourcename.BaseURLResourceName
canonicalize, compare
-
Methods inherited from class org.forgerock.openam.shared.resourcename.BasePrefixResourceName
append, getServiceTypeNames, getSubResource, initialize, normalizeRequestResource, normalizeTargetResource, oneLevelWildcardCompare, split
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.forgerock.openam.shared.resourcename.BaseResourceName
append, canonicalize, compare, getServiceTypeNames, getSubResource, initialize, split
-
-
-
-
Method Detail
-
constructResourceInvalidException
protected PolicyException constructResourceInvalidException(Object[] args)
Description copied from class:BasePrefixResourceNameConstruct the exception that will be thrown if the resource is invalid during canonicalize.- Specified by:
constructResourceInvalidExceptionin classBasePrefixResourceName<ResourceMatch,PolicyException>- Parameters:
args- The exception arguments.- Returns:
- An exception.
-
-