Package com.evolveum.midpoint.model.api
Enum Class ModelAuthorizationAction
- All Implemented Interfaces:
DisplayableValue<String>
,Serializable
,Comparable<ModelAuthorizationAction>
,Constable
public enum ModelAuthorizationAction
extends Enum<ModelAuthorizationAction>
implements DisplayableValue<String>
Represents a model-level action (method) that can be authorized.
Documented in https://docs.evolveum.com/midpoint/reference/security/authorization/configuration/#object-authorization-actions
with additional (developer-level) information here.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated.Ability to complete a work item (case- or certification- related).Deprecated.Deprecated.Ability to delegate a work item (case- or certification- related).Deprecated.Import resource objects from resource.Import objects from file or a stream.Allows the object to be modified.Deprecated.Deprecated.Allows to "use" an object; the exact meaning depends on the type of the object. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns longer description that can be used as a help text, tooltip or for similar purpose.getLabel()
Returns short user-friendly label.getUrl()
getValue()
Retuns actual value.static ModelAuthorizationAction
Returns the enum constant of this class with the specified name.static ModelAuthorizationAction[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
READ
-
GET
-
SEARCH
-
ADD
-
MODIFY
Allows the object to be modified. When asked about it (e.g., viaSecurityEnforcer.isAuthorized(String, AuthorizationPhaseType, AbstractAuthorizationParameters, SecurityEnforcer.Options, Task, OperationResult)
), please make sure that you provide a non-null delta that describes the requested modification. A special case is asking whether there is _any_ authorization to modify the object. In that case, you may provide an empty delta, provided by it is *non-null*. -
DELETE
-
RECOMPUTE
-
TEST
-
USE
Allows to "use" an object; the exact meaning depends on the type of the object. Currently supported for: - task templates: here it means instantiating the template byModelInteractionService.submitTaskFromTemplate(String, ActivityCustomization, Task, OperationResult)
and related methods. -
IMPORT_OBJECTS
Import objects from file or a stream. This means importing any type of object (e.g. user, configuration, resource, object templates, ... -
IMPORT_FROM_RESOURCE
Import resource objects from resource. This means import of accounts, entitlements or other objects from a resource. The import creates shadows. -
DISCOVER_CONNECTORS
-
ASSIGN
-
UNASSIGN
-
DELEGATE
-
ATTORNEY
-
EXECUTE_SCRIPT
Deprecated. -
CHANGE_CREDENTIALS
-
NOTIFY_CHANGE
-
SUSPEND_TASK
-
RESUME_TASK
-
RUN_TASK_IMMEDIATELY
-
STOP_SERVICE_THREADS
-
START_SERVICE_THREADS
-
SYNCHRONIZE_TASKS
-
SYNCHRONIZE_WORKFLOW_REQUESTS
-
STOP_TASK_SCHEDULER
-
START_TASK_SCHEDULER
-
READ_THREADS
-
COMPLETE_WORK_ITEM
Ability to complete a work item (case- or certification- related). -
DELEGATE_WORK_ITEM
Ability to delegate a work item (case- or certification- related). -
CREATE_CERTIFICATION_CAMPAIGN
-
OPEN_CERTIFICATION_CAMPAIGN_REVIEW_STAGE
-
CLOSE_CERTIFICATION_CAMPAIGN_REVIEW_STAGE
-
START_CERTIFICATION_REMEDIATION
-
CLOSE_CERTIFICATION_CAMPAIGN
-
REITERATE_CERTIFICATION_CAMPAIGN
-
READ_OWN_CERTIFICATION_DECISIONS
Deprecated.Replaced byREAD
, see AuthorizationMigrator. No longer used in the production code. -
RECORD_CERTIFICATION_DECISION
Deprecated.Replaced byCOMPLETE_WORK_ITEM
. No longer used in the production code. -
COMPLETE_ALL_WORK_ITEMS
Deprecated.Replaced byCOMPLETE_WORK_ITEM
. No longer used in the production code. -
DELEGATE_ALL_WORK_ITEMS
Deprecated.Replaced byDELEGATE_WORK_ITEM
. No longer used in the production code. -
DELEGATE_OWN_WORK_ITEMS
Deprecated.Replaced byDELEGATE_WORK_ITEM
. No longer used in the production code. -
CANCEL_CASE
-
AUDIT_READ
-
AUDIT_RECORD
-
AUDIT_MANAGE
-
RAW_OPERATION
-
PARTIAL_EXECUTION
-
GET_EXTENSION_SCHEMA
-
RUN_REPORT
-
IMPORT_REPORT
-
CLEANUP_AUDIT_RECORDS
-
RECORD_TRACE
-
READ_TRACE
-
-
Field Details
-
AUTZ_ACTIONS_URLS_SEARCH
-
AUTZ_ACTIONS_URLS_GET
-
AUTZ_ACTIONS_URLS_ADD
-
AUTZ_ACTIONS_URLS_MODIFY
-
AUTZ_ACTIONS_URLS_ASSIGN
-
AUTZ_ACTIONS_URLS_ATTORNEY
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getUrl
-
getValue
Description copied from interface:DisplayableValue
Retuns actual value. This may not be user-friendly.- Specified by:
getValue
in interfaceDisplayableValue<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
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>
-