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 newMappingModuleEntrywith the specified module name, module type and module options.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(ModuleOption option)StringgetMappingModuleName()Get the Policy Module NameStringgetMappingModuleType()Gets the type of mapping performed by the mapping module.Map<String,Object>getOptions()Get the optionsStringtoString()
-
-
-
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
MappingModuleEntrywith the specified module name, module type and module options.- Parameters:
name- aStringrepresenting the fully-qualified class name of the mapping module.options- aMap<String,Object>containing the options configured for the mapping module.type- aStringrepresenting 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
Stringrepresenting the type of mapping performed.
-
-