|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas_lib.deployment.xml.AbsElement org.objectweb.jonas_ear.deployment.xml.SecurityRoleMapping
This class defines the implementation of the element security-role-mapping. It allow to define mapping between roles and principal which use these roles.
Constructor Summary | |
SecurityRoleMapping()
Constructor |
Method Summary | |
void |
addPrincipalName(java.lang.String principalName)
Add the given principal to the list of principals |
JLinkedList |
getPrincipalNamesList()
Gets the principal-name list |
java.lang.String |
getRoleName()
|
void |
setRoleName(java.lang.String roleName)
Set the role-name element of this object |
java.lang.String |
toXML(int indent)
Represents this element by it's XML description. |
Methods inherited from class org.objectweb.jonas_lib.deployment.xml.AbsElement |
indent, toString, toXML, xmlAttribute, xmlElement |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SecurityRoleMapping()
Method Detail |
public JLinkedList getPrincipalNamesList()
public void setRoleName(java.lang.String roleName)
roleName
- the name of the rolepublic java.lang.String getRoleName()
public void addPrincipalName(java.lang.String principalName)
principalName
- name of the principal to add.public java.lang.String toXML(int indent)
toXML
in interface Element
toXML
in class AbsElement
indent
- use this indent for prexifing XML representation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |