org.objectweb.jonas_lib.deployment.api.SecurityRoleRefDesc Class Reference

List of all members.

Public Member Functions

 SecurityRoleRefDesc (String componentName, SecurityRoleRef securityRoleRef, boolean isEjb)
String getRoleName ()
String getRoleLink ()
Permission getEJBRoleRefPermission ()
Permission getWebRoleRefPermission ()

Detailed Description

Defines a SecurityRoleRefDesc class for the management of EJBRoleRefPermissions and WebRoleRefPermissions in JACC
Author:
Florent Benoit

Definition at line 41 of file SecurityRoleRefDesc.java.


Constructor & Destructor Documentation

org.objectweb.jonas_lib.deployment.api.SecurityRoleRefDesc.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

Definition at line 73 of file SecurityRoleRefDesc.java.

References org.objectweb.jonas_lib.deployment.xml.SecurityRoleRef.getRoleLink(), org.objectweb.jonas_lib.deployment.xml.SecurityRoleRef.getRoleName(), and org.objectweb.jonas_lib.deployment.xml.SecurityRoleRef.roleName.

Here is the call graph for this function:


Member Function Documentation

Permission org.objectweb.jonas_lib.deployment.api.SecurityRoleRefDesc.getEJBRoleRefPermission  ) 
 

Returns:
Returns the EJBRoleRefPermission

Definition at line 105 of file SecurityRoleRefDesc.java.

Referenced by org.objectweb.jonas_ejb.container.PermissionManager.translateEjbSecurityRoleRef().

String org.objectweb.jonas_lib.deployment.api.SecurityRoleRefDesc.getRoleLink  ) 
 

Gets the role-link value

Returns:
role-link

Definition at line 98 of file SecurityRoleRefDesc.java.

Referenced by org.objectweb.jonas_ejb.deployment.api.BeanDesc.toString(), org.objectweb.jonas_ejb.container.PermissionManager.translateEjbSecurityRoleRef(), and org.objectweb.jonas.web.lib.PermissionManager.translateServletSecurityRoleRef().

String org.objectweb.jonas_lib.deployment.api.SecurityRoleRefDesc.getRoleName  ) 
 

Gets the role-name value

Returns:
role-name

Definition at line 89 of file SecurityRoleRefDesc.java.

Referenced by org.objectweb.jonas_ejb.container.JContext.isCallerInRole(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.toString(), and org.objectweb.jonas.web.lib.PermissionManager.translateServletSecurityRoleRef().

Permission org.objectweb.jonas_lib.deployment.api.SecurityRoleRefDesc.getWebRoleRefPermission  ) 
 

Returns:
Returns the WebRoleRefPermission

Definition at line 112 of file SecurityRoleRefDesc.java.

Referenced by org.objectweb.jonas.web.lib.PermissionManager.translateServletSecurityRoleRef().


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:12:15 2005 for JOnAS by  doxygen 1.3.9.1