org.objectweb.jonas_lib.deployment.api
Class SecurityRoleRefDesc

java.lang.Object
  extended byorg.objectweb.jonas_lib.deployment.api.SecurityRoleRefDesc

public class SecurityRoleRefDesc
extends java.lang.Object

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

Author:
Florent Benoit

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

Constructor Detail

SecurityRoleRefDesc

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

Parameters:
componentName - name of the EJB or Servlet
Method Detail

getRoleName

public java.lang.String getRoleName()
Gets the role-name value

Returns:
role-name

getRoleLink

public java.lang.String getRoleLink()
Gets the role-link value

Returns:
role-link

getEJBRoleRefPermission

public java.security.Permission getEJBRoleRefPermission()
Gets the EJBRoleRefPermission


getWebRoleRefPermission

public java.security.Permission getWebRoleRefPermission()
Gets the WebRoleRefPermission