org.ow2.easybeans.deployment.metadata.ejbjar.xml
Class SecurityRoleMapping

java.lang.Object
  extended by org.ow2.easybeans.deployment.metadata.ejbjar.xml.SecurityRoleMapping

public class SecurityRoleMapping
extends java.lang.Object

A SecurityRoleMapping represents the XML security-role-mapping element.

Author:
Francois Fornaciari

Constructor Summary
SecurityRoleMapping()
          Default constructor.
 
Method Summary
 java.util.List<java.lang.String> getPrincipalNames()
           
 java.lang.String getRoleName()
           
 void setPrincipalName(java.lang.String principalName)
          Add a the principal name.
 void setRoleName(java.lang.String roleName)
          Set the role name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityRoleMapping

public SecurityRoleMapping()
Default constructor.

Method Detail

getRoleName

public java.lang.String getRoleName()
Returns:
the role name

setRoleName

public void setRoleName(java.lang.String roleName)
Set the role name.

Parameters:
roleName - the role name to be used

getPrincipalNames

public java.util.List<java.lang.String> getPrincipalNames()
Returns:
the principal names

setPrincipalName

public void setPrincipalName(java.lang.String principalName)
Add a the principal name.

Parameters:
principalName - the principal names to be used


Copyright © 2006-2010 OW2 Consortium. All Rights Reserved.