Class CsrfRequestDataValueProcessor
java.lang.Object
org.springframework.security.web.reactive.result.view.CsrfRequestDataValueProcessor
- All Implemented Interfaces:
org.springframework.web.reactive.result.view.RequestDataValueProcessor
public class CsrfRequestDataValueProcessor
extends Object
implements org.springframework.web.reactive.result.view.RequestDataValueProcessor
- Since:
- 5.0
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetExtraHiddenFields
(org.springframework.web.server.ServerWebExchange exchange) processAction
(org.springframework.web.server.ServerWebExchange exchange, String action, String httpMethod) processFormFieldValue
(org.springframework.web.server.ServerWebExchange exchange, String name, String value, String type) processUrl
(org.springframework.web.server.ServerWebExchange exchange, String url)
-
Field Details
-
DEFAULT_CSRF_ATTR_NAME
The default request attribute to look for aCsrfToken
.- See Also:
-
-
Constructor Details
-
CsrfRequestDataValueProcessor
public CsrfRequestDataValueProcessor()
-
-
Method Details
-
processAction
public String processAction(org.springframework.web.server.ServerWebExchange exchange, String action, String httpMethod) - Specified by:
processAction
in interfaceorg.springframework.web.reactive.result.view.RequestDataValueProcessor
-
processFormFieldValue
public String processFormFieldValue(org.springframework.web.server.ServerWebExchange exchange, String name, String value, String type) - Specified by:
processFormFieldValue
in interfaceorg.springframework.web.reactive.result.view.RequestDataValueProcessor
-
getExtraHiddenFields
@NonNull public Map<String,String> getExtraHiddenFields(org.springframework.web.server.ServerWebExchange exchange) - Specified by:
getExtraHiddenFields
in interfaceorg.springframework.web.reactive.result.view.RequestDataValueProcessor
-
processUrl
- Specified by:
processUrl
in interfaceorg.springframework.web.reactive.result.view.RequestDataValueProcessor
-