public class PrefixResourceName extends BasePrefixResourceName<ResourceMatch,MalformedURLException> implements ResourceName
ResourceName interface
it provides methods to do resource comparisons and resource
handling based on prefix based string match going left to right.
This kind of pattern matching would be used by URL kind of resources.caseSensitive, debug, delimiter, exactMatch, noMatch, oneLevelWildcard, oneLevelWildcardEmbedded, oneLevelWildcardLength, subResourceMatch, superResourceMatch, wildcard, wildcardEmbedded, wildcardLength, wildcardMatch| Constructor and Description |
|---|
PrefixResourceName()
empty no argument constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected MalformedURLException |
constructResourceInvalidException(Object[] args)
Construct the exception that will be thrown if the resource is invalid during canonicalize.
|
void |
initialize(Map configParams)
Initializes the resource name with configuration information,
usally set by the administrators.
|
append, canonicalize, compare, getServiceTypeNames, getSubResource, normalizeRequestResource, normalizeTargetResource, oneLevelWildcardCompare, splitclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappend, canonicalize, compare, getServiceTypeNames, getSubResource, splitpublic void initialize(Map configParams)
initialize in interface BaseResourceName<ResourceMatch,MalformedURLException>initialize in class BasePrefixResourceName<ResourceMatch,MalformedURLException>configParams - configuration parameters as a map.
The keys of the map are the configuration paramaters.
Each key is corresponding to one String value
which specifies the configuration paramater value.protected MalformedURLException constructResourceInvalidException(Object[] args)
BasePrefixResourceNameconstructResourceInvalidException in class BasePrefixResourceName<ResourceMatch,MalformedURLException>args - The exception arguments.Copyright © 2010–2023 Open Identity Platform Community. All rights reserved.