|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.geronimo.security.util.URLPattern
public class URLPattern
Utility class for ModuleConfiguration
. This class is used to generate qualified patterns, HTTP
method sets, complements of HTTP method sets, and HTTP method sets w/ transport restrictions for URL patterns that
are found in the web deployment descriptor.
Constructor Summary | |
---|---|
URLPattern(String pat)
Construct an instance of the utility class for WebModuleConfiguration . |
Method Summary | |
---|---|
void |
addAllRoles(Collection collection)
|
void |
addMethod(String method)
Add a method to the union of HTTP methods associated with this URL pattern. |
void |
addRole(String role)
|
boolean |
equals(Object obj)
|
String |
getComplementedMethods()
|
String |
getMethods()
Return the set of HTTP methods that have been associated with this URL pattern. |
String |
getMethodsWithTransport()
|
String |
getQualifiedPattern(Set patterns)
Get a qualifed URL pattern relative to a particular set of URL patterns. |
HashSet |
getRoles()
|
int |
hashCode()
|
void |
setTransport(String trans)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public URLPattern(String pat)
WebModuleConfiguration
.
pat
- the URL pattern that this instance is to collect information onMethod Detail |
---|
public String getQualifiedPattern(Set patterns)
patterns
- the set of possible URL patterns that could be used to qualify this pattern
public void addMethod(String method)
method
- the HTTP method to be added to the set.public String getMethods()
public String getComplementedMethods()
public String getMethodsWithTransport()
public void setTransport(String trans)
public void addRole(String role)
public void addAllRoles(Collection collection)
public HashSet getRoles()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |