org.objectweb.jonas_web.deployment.api.MethodsDesc Class Reference

List of all members.

Public Member Functions

 MethodsDesc ()
void addMethods (String[] methods, String transportGuarantee, boolean isExcluded)
void addMethodsOnRole (String[] methods, String role, String transportGuarantee)
String getExcludedActions ()
String getUncheckedActions ()
Map getRoleMapActions ()
List getUncheckedWebUserDataActionsRoleList ()

Static Public Attributes

final String[] METHODS

Detailed Description

Defines the methods class managing all http methods
Author:
Florent Benoit

Definition at line 39 of file MethodsDesc.java.


Constructor & Destructor Documentation

org.objectweb.jonas_web.deployment.api.MethodsDesc.MethodsDesc  ) 
 

Constructor Build new Http Methods

Definition at line 62 of file MethodsDesc.java.


Member Function Documentation

void org.objectweb.jonas_web.deployment.api.MethodsDesc.addMethods String[]  methods,
String  transportGuarantee,
boolean  isExcluded
 

Add Http methods (Excluded or Unchecked)

Parameters:
methods array of methods to add
transportGuarantee Transport Guarantee for these methods
isExcluded if true add methods as excluded else as unchecked

Definition at line 75 of file MethodsDesc.java.

References org.objectweb.jonas_web.deployment.api.MethodDesc.addTransportGuarantee(), org.objectweb.jonas_web.deployment.api.MethodDesc.setExcluded(), and org.objectweb.jonas_web.deployment.api.MethodDesc.setUnchecked().

Referenced by org.objectweb.jonas_web.deployment.api.PatternEntry.addMethods().

Here is the call graph for this function:

void org.objectweb.jonas_web.deployment.api.MethodsDesc.addMethodsOnRole String[]  methods,
String  role,
String  transportGuarantee
 

Add pattern information for a given role

Parameters:
methods methods to add to the given role
role role which have the given methods
transportGuarantee Transport Guarantee for these methods

Definition at line 94 of file MethodsDesc.java.

References org.objectweb.jonas_web.deployment.api.MethodDesc.addRole().

Referenced by org.objectweb.jonas_web.deployment.api.PatternEntry.addMethodsOnRole().

Here is the call graph for this function:

String org.objectweb.jonas_web.deployment.api.MethodsDesc.getExcludedActions  ) 
 

Gets the excluded actions in order to build permissions

Returns:
actions in order to build permissions

Definition at line 121 of file MethodsDesc.java.

References org.objectweb.jonas_web.deployment.api.MethodDesc.getName(), org.objectweb.jonas_web.deployment.api.MethodDesc.hasRole(), org.objectweb.jonas_web.deployment.api.MethodDesc.isExcluded(), and org.objectweb.jonas_web.deployment.api.MethodDesc.toString().

Referenced by org.objectweb.jonas_web.deployment.api.PatternEntry.getExcludedPermissions().

Here is the call graph for this function:

Map org.objectweb.jonas_web.deployment.api.MethodsDesc.getRoleMapActions  ) 
 

Gets the Map between roles and their actions

Returns:
map between roles and their actions in order to build permissions

Definition at line 167 of file MethodsDesc.java.

References org.objectweb.jonas_web.deployment.api.MethodDesc.getName(), org.objectweb.jonas_web.deployment.api.MethodDesc.getRolesIterator(), and org.objectweb.jonas_web.deployment.api.MethodDesc.hasRole().

Referenced by org.objectweb.jonas_web.deployment.api.PatternEntry.getRolesPermissionsMap().

Here is the call graph for this function:

String org.objectweb.jonas_web.deployment.api.MethodsDesc.getUncheckedActions  ) 
 

Gets the unchecked actions in order to build permissions

Returns:
actions in order to build permissions

Definition at line 142 of file MethodsDesc.java.

References org.objectweb.jonas_web.deployment.api.MethodDesc.getName(), org.objectweb.jonas_web.deployment.api.MethodDesc.hasRole(), org.objectweb.jonas_web.deployment.api.MethodDesc.isUnchecked(), and org.objectweb.jonas_web.deployment.api.MethodDesc.toString().

Referenced by org.objectweb.jonas_web.deployment.api.PatternEntry.getUncheckedPermissions().

Here is the call graph for this function:

List org.objectweb.jonas_web.deployment.api.MethodsDesc.getUncheckedWebUserDataActionsRoleList  ) 
 

Gets the list of unchecked permissions for all element that do not contain an excluding auth-constraint

See also:
3.1.3.1 WebUserDataPermission for excluding auth constraint
Returns:
list of actions for WebUserData permissions

Definition at line 197 of file MethodsDesc.java.

References org.objectweb.jonas_web.deployment.api.MethodDesc.getName(), org.objectweb.jonas_web.deployment.api.MethodDesc.getTransportGuarantee(), org.objectweb.jonas_web.deployment.api.TransportGuaranteeDesc.hasNone(), org.objectweb.jonas_web.deployment.api.MethodDesc.hasRole(), org.objectweb.jonas_web.deployment.api.TransportGuaranteeDesc.isConfidential(), org.objectweb.jonas_web.deployment.api.TransportGuaranteeDesc.isIntegral(), and org.objectweb.jonas_web.deployment.api.MethodDesc.isUnchecked().

Referenced by org.objectweb.jonas_web.deployment.api.PatternEntry.getUncheckedPermissions().

Here is the call graph for this function:


Member Data Documentation

final String [] org.objectweb.jonas_web.deployment.api.MethodsDesc.METHODS [static]
 

Initial value:

 new String[] {
        "DELETE", "GET", "HEAD", "OPTIONS", "POST", "PUT", "TRACE"
    }
Available HTTP METHODS

Definition at line 49 of file MethodsDesc.java.


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