Enum AuthorizationInterceptorsOrder
- java.lang.Object
-
- java.lang.Enum<AuthorizationInterceptorsOrder>
-
- org.springframework.security.authorization.method.AuthorizationInterceptorsOrder
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AuthorizationInterceptorsOrder>
public enum AuthorizationInterceptorsOrder extends java.lang.Enum<AuthorizationInterceptorsOrder>
Ordering of Spring Security's authorizationAdvisor
s
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FIRST
JSR250
LAST
POST_AUTHORIZE
POST_FILTER
PRE_AUTHORIZE
PRE_FILTER
SECURED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getOrder()
static AuthorizationInterceptorsOrder
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AuthorizationInterceptorsOrder[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIRST
public static final AuthorizationInterceptorsOrder FIRST
-
PRE_FILTER
public static final AuthorizationInterceptorsOrder PRE_FILTER
-
PRE_AUTHORIZE
public static final AuthorizationInterceptorsOrder PRE_AUTHORIZE
-
SECURED
public static final AuthorizationInterceptorsOrder SECURED
-
JSR250
public static final AuthorizationInterceptorsOrder JSR250
-
POST_AUTHORIZE
public static final AuthorizationInterceptorsOrder POST_AUTHORIZE
-
POST_FILTER
public static final AuthorizationInterceptorsOrder POST_FILTER
-
LAST
public static final AuthorizationInterceptorsOrder LAST
-
-
Method Detail
-
values
public static AuthorizationInterceptorsOrder[] 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 (AuthorizationInterceptorsOrder c : AuthorizationInterceptorsOrder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthorizationInterceptorsOrder valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getOrder
public int getOrder()
-
-