FileDocCategorySizeDatePackage
ConfigParser.javaAPI DocGlassfish v2 API3489Fri May 04 22:36:14 BST 2007com.sun.enterprise.security.jmac.config

ConfigParser

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%

Fields Summary
Constructors Summary
Methods Summary
public java.util.MapgetConfigMap()
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

public java.util.SetgetLayersWithDefault()
Get the name of layers with default set in domain.xml.

public voidinitialize(com.sun.enterprise.config.ConfigContext configContext)
Initialize the parser with given ConfigContext. Passing null as argument means the system will find a ConfigContext as possible.

param
configContext