|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.security.internal.realm.principal.Role
public class Role
This class define the Role class which define a role with its name and description.
| Constructor Summary | |
|---|---|
Role()
Constructor |
|
Role(String name)
Constructor with a specific role name |
|
| Method Summary | |
|---|---|
String |
getDescription()
Get the description of this role |
String |
getName()
Get the name of this role |
void |
setDescription(String description)
Set the description of this role |
void |
setName(String name)
Set the name of this role |
String |
toString()
Use the XML representation of this object |
String |
toXML()
String representation of the role |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Role()
public Role(String name)
name - the role name to use| Method Detail |
|---|
public void setName(String name)
name - Name of the rolepublic String getName()
getName in interface RoleMBeanpublic void setDescription(String description)
setDescription in interface RoleMBeandescription - description of the rolepublic String getDescription()
getDescription in interface RoleMBeanpublic String toXML()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||