| |
|
| java.lang.Object org.objectweb.jonas_lib.deployment.xml.AbsElement org.objectweb.jonas_ear.deployment.xml.SecurityRoleMapping
SecurityRoleMapping | public class SecurityRoleMapping extends AbsElement (Code) | | This class defines the implementation of the element security-role-mapping.
It allow to define mapping between roles and principal which use these roles.
author: Florent Benoit |
SecurityRoleMapping | public SecurityRoleMapping()(Code) | | Constructor
|
addPrincipalName | public void addPrincipalName(String principalName)(Code) | | Add the given principal to the list of principals
Parameters: principalName - name of the principal to add. |
getPrincipalNamesList | public JLinkedList getPrincipalNamesList()(Code) | | Gets the principal-name list
the principal-name list |
setRoleName | public void setRoleName(String roleName)(Code) | | Set the role-name element of this object
Parameters: roleName - the name of the role |
toXML | public String toXML(int indent)(Code) | | Represents this element by it's XML description.
Parameters: indent - use this indent for prexifing XML representation. the XML description of this object. |
|
|
|