org.ow2.jonas.deployment.common
Class SecurityRoleRefDesc

java.lang.Object
  extended by org.ow2.jonas.deployment.common.SecurityRoleRefDesc

public class SecurityRoleRefDesc
extends Object

Defines a SecurityRoleRefDesc class for the management of EJBRoleRefPermissions and WebRoleRefPermissions in JACC

Author:
Florent Benoit

Constructor Summary
SecurityRoleRefDesc(String componentName, SecurityRoleRef securityRoleRef, boolean isEjb)
          Constructor for SecurityRoleRefDesc
 
Method Summary
 Permission getEJBRoleRefPermission()
           
 String getRoleLink()
          Gets the role-link value
 String getRoleName()
          Gets the role-name value
 Permission getWebRoleRefPermission()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityRoleRefDesc

public SecurityRoleRefDesc(String componentName,
                           SecurityRoleRef securityRoleRef,
                           boolean isEjb)
Constructor for SecurityRoleRefDesc

Parameters:
componentName - name of the EJB or Servlet
securityRoleRef - the security role of the assembly descriptor
isEjb - indicate if the is a SecurityRoleRef for an EJB or a Web Component
Method Detail

getRoleName

public String getRoleName()
Gets the role-name value

Returns:
role-name

getRoleLink

public String getRoleLink()
Gets the role-link value

Returns:
role-link

getEJBRoleRefPermission

public Permission getEJBRoleRefPermission()
Returns:
Returns the EJBRoleRefPermission

getWebRoleRefPermission

public Permission getWebRoleRefPermission()
Returns:
Returns the WebRoleRefPermission


Copyright © 2010 OW2 Consortium. All Rights Reserved.