Enum RestAuthorizationAction
- java.lang.Object
-
- java.lang.Enum<RestAuthorizationAction>
-
- com.evolveum.midpoint.security.api.RestAuthorizationAction
-
- All Implemented Interfaces:
DisplayableValue<String>
,Serializable
,Comparable<RestAuthorizationAction>
public enum RestAuthorizationAction extends Enum<RestAuthorizationAction> implements DisplayableValue<String>
Represents a REST action (method) that can be authorized. The methods protected by other means (e.g., by intra-cluster authentication) are currently not listed here. See also `ModelAuthorizationAction`. Notes: .AuthorizationConstants.AUTZ_REST_ALL_URL
is a special action that covers all REST actions. .AuthorizationConstants.AUTZ_REST_PROXY_URL
is *not* a REST action URL.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull String
getDescription()
Returns longer description that can be used as a help text, tooltip or for similar purpose.@NotNull String
getLabel()
Returns short user-friendly label.@NotNull String
getUri()
String
getValue()
Retuns actual value.static RestAuthorizationAction
valueOf(String name)
Returns the enum constant of this type with the specified name.static RestAuthorizationAction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GENERATE_VALUE
public static final RestAuthorizationAction GENERATE_VALUE
-
RPC_GENERATE_VALUE
public static final RestAuthorizationAction RPC_GENERATE_VALUE
-
VALIDATE_VALUE
public static final RestAuthorizationAction VALIDATE_VALUE
-
RPC_VALIDATE_VALUE
public static final RestAuthorizationAction RPC_VALIDATE_VALUE
-
GET_VALUE_POLICY
public static final RestAuthorizationAction GET_VALUE_POLICY
-
GET_OBJECT
public static final RestAuthorizationAction GET_OBJECT
-
GET_SELF
public static final RestAuthorizationAction GET_SELF
-
GET_OBJECTS
public static final RestAuthorizationAction GET_OBJECTS
-
ADD_OBJECT
public static final RestAuthorizationAction ADD_OBJECT
-
DELETE_OBJECT
public static final RestAuthorizationAction DELETE_OBJECT
-
MODIFY_OBJECT
public static final RestAuthorizationAction MODIFY_OBJECT
-
NOTIFY_CHANGE
public static final RestAuthorizationAction NOTIFY_CHANGE
-
FIND_SHADOW_OWNER
public static final RestAuthorizationAction FIND_SHADOW_OWNER
-
IMPORT_SHADOW
public static final RestAuthorizationAction IMPORT_SHADOW
-
SEARCH_OBJECTS
public static final RestAuthorizationAction SEARCH_OBJECTS
-
IMPORT_FROM_RESOURCE
public static final RestAuthorizationAction IMPORT_FROM_RESOURCE
-
TEST_RESOURCE
public static final RestAuthorizationAction TEST_RESOURCE
-
SUSPEND_TASK
public static final RestAuthorizationAction SUSPEND_TASK
-
RESUME_TASK
public static final RestAuthorizationAction RESUME_TASK
-
RUN_TASK
public static final RestAuthorizationAction RUN_TASK
-
EXECUTE_SCRIPT
public static final RestAuthorizationAction EXECUTE_SCRIPT
-
COMPARE_OBJECT
public static final RestAuthorizationAction COMPARE_OBJECT
-
GET_LOG_SIZE
public static final RestAuthorizationAction GET_LOG_SIZE
-
GET_LOG
public static final RestAuthorizationAction GET_LOG
-
RESET_CREDENTIAL
public static final RestAuthorizationAction RESET_CREDENTIAL
-
GET_THREADS
public static final RestAuthorizationAction GET_THREADS
-
GET_TASKS_THREADS
public static final RestAuthorizationAction GET_TASKS_THREADS
-
GET_TASK_THREADS
public static final RestAuthorizationAction GET_TASK_THREADS
-
GET_EXTENSION_SCHEMA
public static final RestAuthorizationAction GET_EXTENSION_SCHEMA
-
-
Method Detail
-
values
public static RestAuthorizationAction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RestAuthorizationAction c : RestAuthorizationAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RestAuthorizationAction valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getUri
@NotNull public @NotNull String getUri()
-
getValue
public String getValue()
Description copied from interface:DisplayableValue
Retuns actual value. This may not be user-friendly.- Specified by:
getValue
in interfaceDisplayableValue<String>
-
getLabel
@NotNull public @NotNull String getLabel()
Description copied from interface:DisplayableValue
Returns short user-friendly label. Catalog key may be returned instead of actual text.- Specified by:
getLabel
in interfaceDisplayableValue<String>
-
getDescription
@NotNull public @NotNull String getDescription()
Description copied from interface:DisplayableValue
Returns longer description that can be used as a help text, tooltip or for similar purpose. Catalog key may be returned instead of actual text.- Specified by:
getDescription
in interfaceDisplayableValue<String>
-
-