Enum Class AuthorizationEnforcementStrategyType
java.lang.Object
java.lang.Enum<AuthorizationEnforcementStrategyType>
com.evolveum.midpoint.xml.ns._public.common.common_3.AuthorizationEnforcementStrategyType
- All Implemented Interfaces:
TypeSafeEnum
,Serializable
,Comparable<AuthorizationEnforcementStrategyType>
,Constable
public enum AuthorizationEnforcementStrategyType
extends Enum<AuthorizationEnforcementStrategyType>
implements TypeSafeEnum
Limitations of this authorization when it is applied to other authorizations.
For example this specification may limit the power of attorney.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe authorization will always be enforced for all applicable operations.If this setting is applied then midPoint may skip this authorization during evaluation of search operation. -
Method Summary
Modifier and TypeMethodDescriptionvalue()
Returns enum value defined as in schema.Returns the enum constant of this class with the specified name.static AuthorizationEnforcementStrategyType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALWAYS_ENFORCE
The authorization will always be enforced for all applicable operations. Even at the cost of running inefficient operation. If the authorization cannot be enforced then the operation results in an error. We would rather stop the operation entirely than risking data exposure. -
MAY_SKIP_ON_SEARCH
If this setting is applied then midPoint may skip this authorization during evaluation of search operation. This is used for authorization that may be inefficient to evaluate for search operations, especially when used in situations where there is another broader authorization which is good enough to limit the search results. Setting this strategy may cause that broader search results are returned. Use with care. This setting influences search operations only. It does not influence other operations, such as read, modify or assign.
-
-
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
-
value
Description copied from interface:TypeSafeEnum
Returns enum value defined as in schema.- Specified by:
value
in interfaceTypeSafeEnum
- Returns:
-
fromValue
-