|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<RestrictHttpMethodInterceptor.SecurityLevel>
com.atlassian.xwork.interceptors.RestrictHttpMethodInterceptor.SecurityLevel
public static enum RestrictHttpMethodInterceptor.SecurityLevel
| Enum Constant Summary | |
|---|---|
DEFAULT
Restrict annotated methods as annotated. |
|
NONE
Do not restrict access at all |
|
OPT_IN
Restrict access only on methods that are annotated |
|
STRICT
Do not allow any invocation of methods that are not annotated |
|
| Method Summary | |
|---|---|
abstract boolean |
isPermitted(String invocationMethodName,
HttpMethod[] permittedMethods,
String httpMethod)
|
static RestrictHttpMethodInterceptor.SecurityLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RestrictHttpMethodInterceptor.SecurityLevel[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final RestrictHttpMethodInterceptor.SecurityLevel NONE
public static final RestrictHttpMethodInterceptor.SecurityLevel OPT_IN
public static final RestrictHttpMethodInterceptor.SecurityLevel DEFAULT
public static final RestrictHttpMethodInterceptor.SecurityLevel STRICT
| Method Detail |
|---|
public static final RestrictHttpMethodInterceptor.SecurityLevel[] values()
for(RestrictHttpMethodInterceptor.SecurityLevel c : RestrictHttpMethodInterceptor.SecurityLevel.values())
System.out.println(c);
public static RestrictHttpMethodInterceptor.SecurityLevel valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
public abstract boolean isPermitted(String invocationMethodName,
HttpMethod[] permittedMethods,
String httpMethod)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||