Interface ConfigParser

  • All Known Implementing Classes:
    ConfigDomainParser, ConfigXMLParser

    public interface ConfigParser
    AuthConfigImpl relies on a ConfigParser to read the module configuration.

    The ConfigParser is expected to parse that information into the HashMap described below.

    Version:
    %I%, %G%
    • Method Detail

      • initialize

        void initialize​(Object config)
                 throws IOException
        Initialize the parser. Passing null as argument means the parser is to find configuration object as necessary.
        Throws:
        IOException
      • getConfigMap

        Map<String,​GFServerConfigProvider.InterceptEntry> getConfigMap()
        Get the module configuration information. The information is returned as a HashMap.

        The key is an intercept:

        • SOAP
        • HttpServlet

        The value is a AuthConfigImpl.InterceptEntry, which contains:

        • default provider ID
        • default type (client or server)
        • HashMap, where key = provider ID value = BaseAuthConfigImpl.IDEntry

        An IDEntry contains:

        • type (client or server)
        • moduleClassName
        • default requestPolicy
        • default responsePolicy
        • options
      • getLayersWithDefault

        Set<String> getLayersWithDefault()
        Get the name of layers with default set in domain.xml.