org.objectweb.jonas_ear.deployment.xml.SecurityRoleMapping Class Reference

List of all members.

Public Member Functions

 SecurityRoleMapping ()
JLinkedList getPrincipalNamesList ()
void setRoleName (String roleName)
String getRoleName ()
void addPrincipalName (String principalName)
String toXML (int indent)

Detailed Description

This class defines the implementation of the element security-role-mapping. It allow to define mapping between roles and principal which use these roles.
Author:
Florent Benoit

Definition at line 37 of file SecurityRoleMapping.java.


Constructor & Destructor Documentation

org.objectweb.jonas_ear.deployment.xml.SecurityRoleMapping.SecurityRoleMapping  ) 
 

Constructor

Definition at line 52 of file SecurityRoleMapping.java.


Member Function Documentation

void org.objectweb.jonas_ear.deployment.xml.SecurityRoleMapping.addPrincipalName String  principalName  ) 
 

Add the given principal to the list of principals

Parameters:
principalName name of the principal to add.

Definition at line 84 of file SecurityRoleMapping.java.

JLinkedList org.objectweb.jonas_ear.deployment.xml.SecurityRoleMapping.getPrincipalNamesList  ) 
 

Gets the principal-name list

Returns:
the principal-name list

Definition at line 61 of file SecurityRoleMapping.java.

Referenced by org.objectweb.jonas_ear.deployment.api.EarDeploymentDesc.EarDeploymentDesc().

String org.objectweb.jonas_ear.deployment.xml.SecurityRoleMapping.getRoleName  ) 
 

Returns:
the role Name.

Definition at line 76 of file SecurityRoleMapping.java.

Referenced by org.objectweb.jonas_ear.deployment.api.EarDeploymentDesc.EarDeploymentDesc().

void org.objectweb.jonas_ear.deployment.xml.SecurityRoleMapping.setRoleName String  roleName  ) 
 

Set the role-name element of this object

Parameters:
roleName the name of the role

Definition at line 69 of file SecurityRoleMapping.java.

String org.objectweb.jonas_ear.deployment.xml.SecurityRoleMapping.toXML int  indent  ) 
 

Represents this element by it's XML description.

Parameters:
indent use this indent for prexifing XML representation.
Returns:
the XML description of this object.

Definition at line 93 of file SecurityRoleMapping.java.

References org.objectweb.jonas_lib.deployment.xml.JLinkedList.toString(), and org.objectweb.jonas_lib.deployment.xml.JLinkedList.toXML().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:09:59 2005 for JOnAS by  doxygen 1.3.9.1