| java.lang.Object org.objectweb.jonas_web.deployment.api.PatternEntry
PatternEntry | public class PatternEntry (Code) | | Defines a PatternEntry object for JACC URLPattern handle
author: Florent Benoit |
PatternEntry | public PatternEntry(String pattern)(Code) | | Constructor
Parameters: pattern - used by this PatternEntry object |
addExcludedMethods | public void addExcludedMethods(String[] methods, String transportGuarantee)(Code) | | Add Excluded Http methods
Parameters: methods - array of methods to add Parameters: transportGuarantee - Transport Guarantee for these methods |
addMethods | public void addMethods(String[] methods, String transportGuarantee, boolean isExcluded)(Code) | | Add Http methods (Excluded or Unchecked)
Parameters: methods - array of methods to add Parameters: transportGuarantee - Transport Guarantee for these methods Parameters: isExcluded - if true add methods as excluded else as unchecked |
addMethodsOnRole | public void addMethodsOnRole(String[] methods, String role, String transportGuarantee)(Code) | | Add pattern information for a given role
Parameters: methods - methods to add to the given role Parameters: role - role which have the given methods Parameters: transportGuarantee - Transport Guarantee for these methods |
addMethodsOnRoles | public void addMethodsOnRoles(String[] methods, String[] roles, String transportGuarantee)(Code) | | Add pattern information for given roles
Parameters: methods - methods to add to the given role Parameters: roles - roles which have the given methods Parameters: transportGuarantee - Transport Guarantee for these methods |
addQualifiedPattern | public void addQualifiedPattern(Pattern otherPattern)(Code) | | Add to this pattern a qualified pattern
See Also: jacc See Also: 3.1.3.1 (Qualifying pattern) Parameters: otherPattern - pattern to add for the qualified pattern |
addUncheckedMethods | public void addUncheckedMethods(String[] methods, String transportGuarantee)(Code) | | Add Unchecked Http methods
Parameters: methods - array of methods to add Parameters: transportGuarantee - Transport Guarantee for these methods |
getExcludedPermissions | public PermissionCollection getExcludedPermissions()(Code) | | Gets the excluded permissions for this pattern
the excluded permissions for this pattern |
getQualifiedPattern | public String getQualifiedPattern()(Code) | | Gets the qualified form of the pattern
qualified pattern |
getRolesPermissionsMap | public Map getRolesPermissionsMap()(Code) | | Gets the permissions for each role.
Map between role and permissions
the Map witth key = role, value = permissions |
getUncheckedPermissions | public PermissionCollection getUncheckedPermissions()(Code) | | Gets the unchecked permissions for this pattern
the unchecked permissions for this pattern |
isIrrelevant | public boolean isIrrelevant()(Code) | | Gets the state of the pattern. Irrelevant or not during the qualifying phase
true if the pattern is irrelevant, false otherwise |
isUncheckedLastEntry | public boolean isUncheckedLastEntry()(Code) | | Gets the boolean value of the flag which indicate that this entry
will be added at the end as unchecked permission
true if this is the pattern to add at the end |
setUncheckedLastEntry | public void setUncheckedLastEntry()(Code) | | Set the flag which indicate that this entry will be added at the end
as unchecked permission
|
toString | public String toString()(Code) | | String representation
string representation of the pattern |
|
|