org.jboss.security.mapping.config
Class MappingModuleEntry

java.lang.Object
  extended by 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
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 new MappingModuleEntry with the specified module name, module type and module options.
 
Method Summary
 void add(org.jboss.security.config.ModuleOption option)
           
 String getMappingModuleName()
          Get the Policy Module Name
 String getMappingModuleType()
           Gets the type of mapping performed by the mapping module.
 Map<String,Object> getOptions()
          Get the options
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 Name
options - 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 - a String representing the fully-qualified class name of the mapping module.
options - a Map<String,Object> containing the options configured for the mapping module.
type - a String representing the type of mapping performed by the mapping module (e.g. role, identity, principal).
Method Detail

add

public void add(org.jboss.security.config.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.

getOptions

public Map<String,Object> getOptions()
Get the options

Returns:

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009 JBoss Inc.. All Rights Reserved.