public enum SecurityInDataMethod extends java.lang.Enum<SecurityInDataMethod>
ActionExecution
.
However, in some cases it is necessary to perform an additional security
check with the object in the datamethod just before the action. The best case
is an insert where it may be necessary to perform a check (for example on
location) only after all preprocessing of the object has been finished.Enum Constant and Description |
---|
DO_NOTHING_IF_NOT_AUTHORIZED
Performs security check on the main object (will check once more that the
action is authorized for the object after all pre-processing.
|
FAIL_IF_NOT_AUTHORIZED
Performs security check on the main object (will check once more that the
action is authorized for the object after all pre-processing.
|
NONE
Perform no security check.
|
Modifier and Type | Method and Description |
---|---|
static SecurityInDataMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SecurityInDataMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SecurityInDataMethod NONE
public static final SecurityInDataMethod FAIL_IF_NOT_AUTHORIZED
public static final SecurityInDataMethod DO_NOTHING_IF_NOT_AUTHORIZED
public static SecurityInDataMethod[] values()
for (SecurityInDataMethod c : SecurityInDataMethod.values()) System.out.println(c);
public static SecurityInDataMethod 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 namejava.lang.NullPointerException
- if the argument is null