|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CombinationPolicy>
com.acsinet_solutions.cetia4.controller.meta.CombinationPolicy
public enum CombinationPolicy
A combination policy for security restrictions in Security annotation.
Security| Enum Constant Summary | |
|---|---|
REQUIRE_ALL
Requires that all security conditions that were explicitly set must be fulfilled ( roles, condition and configurator ) |
|
REQUIRE_CONDITION
Requires condition to be met, can be combined with REQUIRE_TWO |
|
REQUIRE_CONFIGURATOR
Requires configurator to be met, can be combined with REQUIRE_TWO |
|
REQUIRE_ONE
With just any one security condition passed, it is ok. |
|
REQUIRE_ROLES
Requires roles to be met, can be combined with REQUIRE_TWO |
|
REQUIRE_TWO
If any two security conditions are met, its accepted. |
|
| Method Summary | |
|---|---|
static CombinationPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CombinationPolicy[] |
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 CombinationPolicy REQUIRE_ALL
public static final CombinationPolicy REQUIRE_ONE
public static final CombinationPolicy REQUIRE_TWO
public static final CombinationPolicy REQUIRE_ROLES
public static final CombinationPolicy REQUIRE_CONDITION
public static final CombinationPolicy REQUIRE_CONFIGURATOR
| Method Detail |
|---|
public static final CombinationPolicy[] values()
for(CombinationPolicy c : CombinationPolicy.values())
System.out.println(c);
public static CombinationPolicy 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||