Class MappingModuleEntry
- java.lang.Object
-
- org.jboss.security.mapping.config.MappingModuleEntry
-
public class MappingModuleEntry extends Object
Represents configuration for a single Mapping Module- Since:
- August 24, 2006
- Version:
- $Revision: 45985 $
- Author:
- Anil Saldhana
-
-
Constructor Summary
Constructors Constructor Description MappingModuleEntry(String name)
Create a new MappingModuleEntry.MappingModuleEntry(String name, Map<String,Object> options)
Create a new MappingModuleEntry.MappingModuleEntry(String name, Map<String,Object> options, String type)
Creates a newMappingModuleEntry
with the specified module name, module type and module options.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(ModuleOption option)
String
getMappingModuleName()
Get the Policy Module NameString
getMappingModuleType()
Gets the type of mapping performed by the mapping module.Map<String,Object>
getOptions()
Get the optionsString
toString()
-
-
-
Constructor Detail
-
MappingModuleEntry
public MappingModuleEntry(String name)
Create a new MappingModuleEntry.- Parameters:
name
- Policy Module Name
-
MappingModuleEntry
public MappingModuleEntry(String name, Map<String,Object> options)
Create a new MappingModuleEntry.- Parameters:
name
- Policy Module Nameoptions
- Options
-
MappingModuleEntry
public MappingModuleEntry(String name, Map<String,Object> options, String type)
Creates a new
MappingModuleEntry
with the specified module name, module type and module options.- Parameters:
name
- aString
representing the fully-qualified class name of the mapping module.options
- aMap<String,Object>
containing the options configured for the mapping module.type
- aString
representing the type of mapping performed by the mapping module (e.g. role, identity, principal).
-
-
Method Detail
-
add
public void add(ModuleOption option)
-
getMappingModuleName
public String getMappingModuleName()
Get the Policy Module Name- Returns:
-
getMappingModuleType
public String getMappingModuleType()
Gets the type of mapping performed by the mapping module.
- Returns:
- a
String
representing the type of mapping performed.
-
-