|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas_web.deployment.api.PatternEntry
public class PatternEntry
Defines a PatternEntry object for JACC URLPattern handle
Constructor Summary | |
---|---|
PatternEntry(java.lang.String pattern)
Constructor |
Method Summary | |
---|---|
void |
addExcludedMethods(java.lang.String[] methods,
java.lang.String transportGuarantee)
Add Excluded Http methods |
void |
addMethods(java.lang.String[] methods,
java.lang.String transportGuarantee,
boolean isExcluded)
Add Http methods (Excluded or Unchecked) |
void |
addMethodsOnRole(java.lang.String[] methods,
java.lang.String role,
java.lang.String transportGuarantee)
Add pattern information for a given role |
void |
addMethodsOnRoles(java.lang.String[] methods,
java.lang.String[] roles,
java.lang.String transportGuarantee)
Add pattern information for given roles |
void |
addQualifiedPattern(Pattern otherPattern)
Add to this pattern a qualified pattern |
void |
addUncheckedMethods(java.lang.String[] methods,
java.lang.String transportGuarantee)
Add Unchecked Http methods |
java.security.PermissionCollection |
getExcludedPermissions()
Gets the excluded permissions for this pattern |
java.lang.String |
getQualifiedPattern()
Gets the qualified form of the pattern |
java.util.Map |
getRolesPermissionsMap()
Gets the permissions for each role. |
java.security.PermissionCollection |
getUncheckedPermissions()
Gets the unchecked permissions for this pattern |
boolean |
isIrrelevant()
Gets the state of the pattern. |
boolean |
isUncheckedLastEntry()
Gets the boolean value of the flag which indicate that this entry will be added at the end as unchecked permission |
void |
setUncheckedLastEntry()
Set the flag which indicate that this entry will be added at the end as unchecked permission |
java.lang.String |
toString()
String representation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PatternEntry(java.lang.String pattern)
pattern
- used by this PatternEntry objectMethod Detail |
---|
public void addMethods(java.lang.String[] methods, java.lang.String transportGuarantee, boolean isExcluded)
methods
- array of methods to addtransportGuarantee
- Transport Guarantee for these methodsisExcluded
- if true add methods as excluded else as uncheckedpublic void addExcludedMethods(java.lang.String[] methods, java.lang.String transportGuarantee)
methods
- array of methods to addtransportGuarantee
- Transport Guarantee for these methodspublic void addUncheckedMethods(java.lang.String[] methods, java.lang.String transportGuarantee)
methods
- array of methods to addtransportGuarantee
- Transport Guarantee for these methodspublic void addMethodsOnRoles(java.lang.String[] methods, java.lang.String[] roles, java.lang.String transportGuarantee)
methods
- methods to add to the given roleroles
- roles which have the given methodstransportGuarantee
- Transport Guarantee for these methodspublic void addMethodsOnRole(java.lang.String[] methods, java.lang.String role, java.lang.String transportGuarantee)
methods
- methods to add to the given rolerole
- role which have the given methodstransportGuarantee
- Transport Guarantee for these methodspublic void setUncheckedLastEntry()
public boolean isUncheckedLastEntry()
public void addQualifiedPattern(Pattern otherPattern)
otherPattern
- pattern to add for the qualified pattern3.1.3.1 (Qualifying pattern)
public java.util.Map getRolesPermissionsMap()
public java.security.PermissionCollection getExcludedPermissions()
public java.security.PermissionCollection getUncheckedPermissions()
public boolean isIrrelevant()
public java.lang.String getQualifiedPattern()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |