|
Servlet 3.0 - Apache Tomcat 7.0.37 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ServletSecurity.EmptyRoleSemantic> javax.servlet.annotation.ServletSecurity.EmptyRoleSemantic
public static enum ServletSecurity.EmptyRoleSemantic
Represents the two possible values of the empty role semantic, active when a list of role names is empty.
Enum Constant Summary | |
---|---|
DENY
Access MUST be denied, regardless of authentication state or identity |
|
PERMIT
Access MUST be permitted, regardless of authentication state or identity |
Method Summary | |
---|---|
static ServletSecurity.EmptyRoleSemantic |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ServletSecurity.EmptyRoleSemantic[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ServletSecurity.EmptyRoleSemantic PERMIT
public static final ServletSecurity.EmptyRoleSemantic DENY
Method Detail |
---|
public static ServletSecurity.EmptyRoleSemantic[] values()
for (ServletSecurity.EmptyRoleSemantic c : ServletSecurity.EmptyRoleSemantic.values()) System.out.println(c);
public static ServletSecurity.EmptyRoleSemantic valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
Servlet 3.0 - Apache Tomcat 7.0.37 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |