public enum PayloadInterceptorOrder extends java.lang.Enum<PayloadInterceptorOrder> implements org.springframework.core.Ordered
PayloadInterceptor to be sorted. The actual values might
change, so users should use the getOrder() method to calculate the position
dynamically rather than copy values.| Enum Constant and Description |
|---|
ANONYMOUS
Where anonymous authentication is placed.
|
AUTHENTICATION
A generic placeholder for other types of authentication.
|
AUTHORIZATION
Where authorization is placed.
|
BASIC_AUTHENTICATION
Where basic authentication is placed.
|
JWT_AUTHENTICATION
Where JWT based authentication is performed.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
static PayloadInterceptorOrder |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PayloadInterceptorOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PayloadInterceptorOrder BASIC_AUTHENTICATION
public static final PayloadInterceptorOrder JWT_AUTHENTICATION
RSocketSecurity.jwt(Customizer)public static final PayloadInterceptorOrder AUTHENTICATION
AuthenticationPayloadInterceptorpublic static final PayloadInterceptorOrder ANONYMOUS
public static final PayloadInterceptorOrder AUTHORIZATION
AuthorizationPayloadInterceptorpublic static PayloadInterceptorOrder[] values()
for (PayloadInterceptorOrder c : PayloadInterceptorOrder.values()) System.out.println(c);
public static PayloadInterceptorOrder valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getOrder()
getOrder in interface org.springframework.core.Ordered