Class ResourceNameSplitter
- java.lang.Object
-
- com.sun.identity.entitlement.util.ResourceNameSplitter
-
- All Implemented Interfaces:
ISearchIndex
- Direct Known Subclasses:
DelegationResourceNameSplitter
public class ResourceNameSplitter extends Object implements ISearchIndex
-
-
Constructor Summary
Constructors Constructor Description ResourceNameSplitter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceSearchIndexesgetIndexes(String resName, String realm)Returns the different components on a resource that can be used to search for policies.static Set<String>splitHost(RelaxedURL url)Returns a list of sub parts of host of a resource name.
-
-
-
Method Detail
-
getIndexes
public ResourceSearchIndexes getIndexes(String resName, String realm)
Returns the different components on a resource that can be used to search for policies.- Specified by:
getIndexesin interfaceISearchIndex- Parameters:
resName- Resource name.realm- Current realm to be searched.- Returns:
- the different components on a resource.
-
splitHost
public static Set<String> splitHost(RelaxedURL url)
Returns a list of sub parts of host of a resource name.- Parameters:
url- Resource name.- Returns:
- a list of sub parts of host of a resource name.
-
-