| |
|
| java.lang.Object org.objectweb.jonas.security.realm.principals.Role
Role | public class Role implements Serializable,RoleMBean(Code) | | This class define the Role class which define a role with its name and
description.
author: Florent Benoit |
Role | public Role()(Code) | | Constructor
|
Role | public Role(String name)(Code) | | Constructor with a specific role name
Parameters: name - the role name to use |
getDescription | public String getDescription()(Code) | | Get the description of this role
the description of this role |
getName | public String getName()(Code) | | Get the name of this role
the name of this role |
setDescription | public void setDescription(String description)(Code) | | Set the description of this role
Parameters: description - description of the role |
setName | public void setName(String name)(Code) | | Set the name of this role
Parameters: name - Name of the role |
toString | public String toString()(Code) | | Use the XML representation of this object
the XML representation of this object |
toXML | public String toXML()(Code) | | String representation of the role
the xml representation of the role |
|
|
|