|
|||||||||
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_ejb.deployment.xml.JonasRunAsMapping
public class JonasRunAsMapping
This class defines the implementation of the element jonas-run-as-mapping It defines mapping between principal and list of roles
Constructor Summary | |
---|---|
JonasRunAsMapping()
Constructor |
Method Summary | |
---|---|
void |
addRoleName(java.lang.String roleName)
Add a new role-name element to this object |
java.lang.String |
getPrincipalName()
|
JLinkedList |
getRoleNamesList()
Gets the role-name |
void |
setPrincipalName(java.lang.String principalName)
Sets the principal name |
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 JonasRunAsMapping()
Method Detail |
---|
public JLinkedList getRoleNamesList()
public void addRoleName(java.lang.String roleName)
roleName
- the name of the rolepublic java.lang.String getPrincipalName()
public void setPrincipalName(java.lang.String principalName)
principalName
- name of the principal to set.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 |