Class ConfigDomainParser
- java.lang.Object
-
- com.sun.enterprise.security.jaspic.config.ConfigDomainParser
-
- All Implemented Interfaces:
ConfigParser
public class ConfigDomainParser extends Object implements ConfigParser
Parser for message-security-config in domain.xml
-
-
Constructor Summary
Constructors Constructor Description ConfigDomainParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,GFServerConfigProvider.InterceptEntry>
getConfigMap()
Get the module configuration information.Set<String>
getLayersWithDefault()
Get the name of layers with default set in domain.xml.void
initialize(Object service)
Initialize the parser.
-
-
-
Constructor Detail
-
ConfigDomainParser
public ConfigDomainParser() throws IOException
- Throws:
IOException
-
-
Method Detail
-
initialize
public void initialize(Object service) throws IOException
Description copied from interface:ConfigParser
Initialize the parser. Passing null as argument means the parser is to find configuration object as necessary.- Specified by:
initialize
in interfaceConfigParser
- Throws:
IOException
-
getConfigMap
public Map<String,GFServerConfigProvider.InterceptEntry> getConfigMap()
Description copied from interface:ConfigParser
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
- Specified by:
getConfigMap
in interfaceConfigParser
-
getLayersWithDefault
public Set<String> getLayersWithDefault()
Description copied from interface:ConfigParser
Get the name of layers with default set in domain.xml.- Specified by:
getLayersWithDefault
in interfaceConfigParser
-
-