Enum Class SecurityWebFiltersOrder
java.lang.Object
java.lang.Enum<SecurityWebFiltersOrder>
org.springframework.security.config.web.server.SecurityWebFiltersOrder
- All Implemented Interfaces:
Serializable,Comparable<SecurityWebFiltersOrder>,Constable
The default order of filters used in WebFlux security configuration.
- Since:
- 5.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInstance of AnonymousAuthenticationWebFilter.Instance of CorsWebFilter.Instance of CsrfWebFilter.Instance of AuthenticationWebFilter.Instance of AuthenticationWebFilter.Instance of HttpsRedirectWebFilter.Instance of GenerateOneTimeTokenWebFilter.Instance of OneTimeTokenSubmitPageGeneratingWebFilter.Instance of ReactorContextWebFilter.Instance of SecurityContextServerWebExchangeWebFilter.Instance of ServerRequestCacheWebFilter. -
Method Summary
Modifier and TypeMethodDescriptionintgetOrder()static SecurityWebFiltersOrderReturns the enum constant of this class with the specified name.static SecurityWebFiltersOrder[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FIRST
-
HTTP_HEADERS_WRITER
-
HTTPS_REDIRECT
Instance of HttpsRedirectWebFilter.HttpsRedirectWebFilter -
CORS
Instance of CorsWebFilter.CorsWebFilter -
CSRF
Instance of CsrfWebFilter.CsrfWebFilter -
REACTOR_CONTEXT
Instance of ReactorContextWebFilter.ReactorContextWebFilter -
HTTP_BASIC
Instance of AuthenticationWebFilter. -
FORM_LOGIN
Instance of AuthenticationWebFilter. -
AUTHENTICATION
-
ANONYMOUS_AUTHENTICATION
Instance of AnonymousAuthenticationWebFilter. -
OAUTH2_AUTHORIZATION_CODE
-
LOGIN_PAGE_GENERATING
-
LOGOUT_PAGE_GENERATING
-
ONE_TIME_TOKEN
Instance of GenerateOneTimeTokenWebFilter.GenerateOneTimeTokenWebFilter -
ONE_TIME_TOKEN_SUBMIT_PAGE_GENERATING
Instance of OneTimeTokenSubmitPageGeneratingWebFilter.OneTimeTokenSubmitPageGeneratingWebFilter -
SECURITY_CONTEXT_SERVER_WEB_EXCHANGE
Instance of SecurityContextServerWebExchangeWebFilter.SecurityContextServerWebExchangeWebFilter -
SERVER_REQUEST_CACHE
Instance of ServerRequestCacheWebFilter.ServerRequestCacheWebFilter -
LOGOUT
-
EXCEPTION_TRANSLATION
-
AUTHORIZATION
-
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()
-