Enum Class AuthorizationInterceptorsOrder
java.lang.Object
java.lang.Enum<AuthorizationInterceptorsOrder>
org.springframework.security.authorization.method.AuthorizationInterceptorsOrder
- All Implemented Interfaces:
Serializable, Comparable<AuthorizationInterceptorsOrder>, Constable
Ordering of Spring Security's authorization
Advisors.- Since:
- 5.6
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe order for thePostFilterAuthorizationMethodInterceptor.The order for thePreFilterAuthorizationMethodInterceptor. -
Method Summary
Modifier and TypeMethodDescriptionintgetOrder()Returns the enum constant of this class with the specified name.static AuthorizationInterceptorsOrder[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FIRST
-
PRE_FILTER
The order for thePreFilterAuthorizationMethodInterceptor. -
PRE_AUTHORIZE
-
SECURED
-
JSR250
-
SECURE_RESULT
-
POST_AUTHORIZE
-
POST_FILTER
The order for thePostFilterAuthorizationMethodInterceptor. -
LAST
-
-
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
-
getOrder
public int getOrder()
-