Class ResourceNameSplitter

    • Constructor Detail

      • ResourceNameSplitter

        public ResourceNameSplitter()
    • 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:
        getIndexes in interface ISearchIndex
        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.