org.objectweb.jonas.security.realm.principals.Group Class Reference

Inherits org.objectweb.jonas.security.realm.principals.GroupMBean.

Inheritance diagram for org.objectweb.jonas.security.realm.principals.Group:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.jonas.security.realm.principals.Group:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Group ()
 Group (String name)
void setName (String name)
String getName ()
void setDescription (String description)
String getDescription ()
void setRoles (String roles)
void addRole (String role)
void removeRole (String role)
String getRoles ()
String[] getArrayRoles ()
String toXML ()
String toString ()

Static Protected Attributes

final String SEPARATOR = ","

Detailed Description

This class define the Group class which represent a group with its associated roles
Author:
Florent Benoit

Definition at line 42 of file Group.java.


Constructor & Destructor Documentation

org.objectweb.jonas.security.realm.principals.Group.Group  ) 
 

Default Constructor

Definition at line 67 of file Group.java.

org.objectweb.jonas.security.realm.principals.Group.Group String  name  ) 
 

Constructor with a given name

Parameters:
name the name of this group

Definition at line 75 of file Group.java.

References org.objectweb.jonas.security.realm.principals.Group.setName().

Here is the call graph for this function:


Member Function Documentation

void org.objectweb.jonas.security.realm.principals.Group.addRole String  role  ) 
 

Add a role to this group

Parameters:
role the given role

Implements org.objectweb.jonas.security.realm.principals.GroupMBean.

Definition at line 128 of file Group.java.

Referenced by org.objectweb.jonas.security.realm.principals.Group.setRoles().

String [] org.objectweb.jonas.security.realm.principals.Group.getArrayRoles  ) 
 

Get the roles

Returns:
the array of the roles

Implements org.objectweb.jonas.security.realm.principals.GroupMBean.

Definition at line 168 of file Group.java.

Referenced by org.objectweb.jonas.security.realm.factory.JResourceMemory.getArrayListCombinedRoles().

String org.objectweb.jonas.security.realm.principals.Group.getDescription  ) 
 

Get the description of this group

Returns:
the description of this group

Implements org.objectweb.jonas.security.realm.principals.GroupMBean.

Definition at line 107 of file Group.java.

String org.objectweb.jonas.security.realm.principals.Group.getName  ) 
 

Get the name of this user

Returns:
the name of this user

Implements org.objectweb.jonas.security.realm.principals.GroupMBean.

Definition at line 91 of file Group.java.

Referenced by org.objectweb.jonas.security.realm.factory.JResourceMemory.removeMBeans().

String org.objectweb.jonas.security.realm.principals.Group.getRoles  ) 
 

Get the roles

Returns:
the array of the roles

Definition at line 148 of file Group.java.

void org.objectweb.jonas.security.realm.principals.Group.removeRole String  role  ) 
 

Remove a role from this group

Parameters:
role the given role

Implements org.objectweb.jonas.security.realm.principals.GroupMBean.

Definition at line 138 of file Group.java.

void org.objectweb.jonas.security.realm.principals.Group.setDescription String  description  ) 
 

Set the description of this group

Parameters:
description description of the group

Implements org.objectweb.jonas.security.realm.principals.GroupMBean.

Definition at line 99 of file Group.java.

void org.objectweb.jonas.security.realm.principals.Group.setName String  name  ) 
 

Set the name of this user

Parameters:
name Name of the user

Definition at line 83 of file Group.java.

Referenced by org.objectweb.jonas.security.realm.principals.Group.Group().

void org.objectweb.jonas.security.realm.principals.Group.setRoles String  roles  ) 
 

Set the roles of the group

Parameters:
roles the list of the roles of the group

Definition at line 115 of file Group.java.

References org.objectweb.jonas.security.realm.principals.Group.addRole(), and org.objectweb.jonas.security.realm.principals.Group.SEPARATOR.

Here is the call graph for this function:

String org.objectweb.jonas.security.realm.principals.Group.toString  ) 
 

Use the XML representation of this object

Returns:
the XML representation of this object

Definition at line 193 of file Group.java.

Referenced by org.objectweb.jonas.security.realm.factory.JResourceMemory.toXML().

String org.objectweb.jonas.security.realm.principals.Group.toXML  ) 
 

String representation of the group

Returns:
the xml representation of the group

Definition at line 176 of file Group.java.

Referenced by org.objectweb.jonas.security.realm.factory.JResourceMemory.toString().


Member Data Documentation

final String org.objectweb.jonas.security.realm.principals.Group.SEPARATOR = "," [static, protected]
 

Separator of the roles

Definition at line 47 of file Group.java.

Referenced by org.objectweb.jonas.security.realm.principals.Group.setRoles().


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