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

Collaboration diagram for org.objectweb.jonas_web.deployment.api.PatternEntry:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PatternEntry (String pattern)
void addMethods (String[] methods, String transportGuarantee, boolean isExcluded)
void addExcludedMethods (String[] methods, String transportGuarantee)
void addUncheckedMethods (String[] methods, String transportGuarantee)
void addMethodsOnRoles (String[] methods, String[] roles, String transportGuarantee)
void addMethodsOnRole (String[] methods, String role, String transportGuarantee)
void setUncheckedLastEntry ()
boolean isUncheckedLastEntry ()
void addQualifiedPattern (Pattern otherPattern)
Map getRolesPermissionsMap ()
PermissionCollection getExcludedPermissions ()
PermissionCollection getUncheckedPermissions ()
boolean isIrrelevant ()
String getQualifiedPattern ()
String toString ()

Detailed Description

Defines a PatternEntry object for JACC URLPattern handle
Author:
Florent Benoit

Definition at line 47 of file PatternEntry.java.


Constructor & Destructor Documentation

org.objectweb.jonas_web.deployment.api.PatternEntry.PatternEntry String  pattern  ) 
 

Constructor

Parameters:
pattern used by this PatternEntry object

Definition at line 80 of file PatternEntry.java.


Member Function Documentation

void org.objectweb.jonas_web.deployment.api.PatternEntry.addExcludedMethods String[]  methods,
String  transportGuarantee
 

Add Excluded Http methods

Parameters:
methods array of methods to add
transportGuarantee Transport Guarantee for these methods

Definition at line 102 of file PatternEntry.java.

void org.objectweb.jonas_web.deployment.api.PatternEntry.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 93 of file PatternEntry.java.

References org.objectweb.jonas_web.deployment.api.MethodsDesc.addMethods().

Here is the call graph for this function:

void org.objectweb.jonas_web.deployment.api.PatternEntry.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 135 of file PatternEntry.java.

References org.objectweb.jonas_web.deployment.api.MethodsDesc.addMethodsOnRole().

Here is the call graph for this function:

void org.objectweb.jonas_web.deployment.api.PatternEntry.addMethodsOnRoles String[]  methods,
String[]  roles,
String  transportGuarantee
 

Add pattern information for given roles

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

Definition at line 122 of file PatternEntry.java.

void org.objectweb.jonas_web.deployment.api.PatternEntry.addQualifiedPattern Pattern  otherPattern  ) 
 

Add to this pattern a qualified pattern

See also:
jacc 3.1.3.1 (Qualifying pattern)
Parameters:
otherPattern pattern to add for the qualified pattern

Definition at line 164 of file PatternEntry.java.

References org.objectweb.jonas_web.deployment.api.Pattern.isMatching().

Here is the call graph for this function:

void org.objectweb.jonas_web.deployment.api.PatternEntry.addUncheckedMethods String[]  methods,
String  transportGuarantee
 

Add Unchecked Http methods

Parameters:
methods array of methods to add
transportGuarantee Transport Guarantee for these methods

Definition at line 111 of file PatternEntry.java.

PermissionCollection org.objectweb.jonas_web.deployment.api.PatternEntry.getExcludedPermissions  ) 
 

Gets the excluded permissions for this pattern

Returns:
the excluded permissions for this pattern

Definition at line 207 of file PatternEntry.java.

References org.objectweb.jonas_web.deployment.api.MethodsDesc.getExcludedActions().

Here is the call graph for this function:

String org.objectweb.jonas_web.deployment.api.PatternEntry.getQualifiedPattern  ) 
 

Gets the qualified form of the pattern

Returns:
qualified pattern

Definition at line 324 of file PatternEntry.java.

Map org.objectweb.jonas_web.deployment.api.PatternEntry.getRolesPermissionsMap  ) 
 

Gets the permissions for each role. Map between role and permissions

Returns:
the Map witth key = role, value = permissions

Definition at line 183 of file PatternEntry.java.

References org.objectweb.jonas_web.deployment.api.MethodsDesc.getRoleMapActions().

Here is the call graph for this function:

PermissionCollection org.objectweb.jonas_web.deployment.api.PatternEntry.getUncheckedPermissions  ) 
 

Gets the unchecked permissions for this pattern

Returns:
the unchecked permissions for this pattern

Definition at line 223 of file PatternEntry.java.

References org.objectweb.jonas_web.deployment.api.MethodsDesc.getUncheckedActions(), and org.objectweb.jonas_web.deployment.api.MethodsDesc.getUncheckedWebUserDataActionsRoleList().

Here is the call graph for this function:

boolean org.objectweb.jonas_web.deployment.api.PatternEntry.isIrrelevant  ) 
 

Gets the state of the pattern. Irrelevant or not during the qualifying phase

Returns:
true if the pattern is irrelevant, false otherwise

Definition at line 316 of file PatternEntry.java.

boolean org.objectweb.jonas_web.deployment.api.PatternEntry.isUncheckedLastEntry  ) 
 

Gets the boolean value of the flag which indicate that this entry will be added at the end as unchecked permission

Returns:
true if this is the pattern to add at the end

Definition at line 152 of file PatternEntry.java.

void org.objectweb.jonas_web.deployment.api.PatternEntry.setUncheckedLastEntry  ) 
 

Set the flag which indicate that this entry will be added at the end as unchecked permission

Definition at line 143 of file PatternEntry.java.

String org.objectweb.jonas_web.deployment.api.PatternEntry.toString  ) 
 

String representation

Returns:
string representation of the pattern

Definition at line 332 of file PatternEntry.java.


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