public final class CsrfRequestDataValueProcessor
extends java.lang.Object
implements org.springframework.web.servlet.support.RequestDataValueProcessor
CsrfToken
into
forms with hidden inputs when using Spring tag libraries.Constructor and Description |
---|
CsrfRequestDataValueProcessor() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getExtraHiddenFields(javax.servlet.http.HttpServletRequest request) |
java.lang.String |
processAction(javax.servlet.http.HttpServletRequest request,
java.lang.String action) |
java.lang.String |
processAction(javax.servlet.http.HttpServletRequest request,
java.lang.String action,
java.lang.String method) |
java.lang.String |
processFormFieldValue(javax.servlet.http.HttpServletRequest request,
java.lang.String name,
java.lang.String value,
java.lang.String type) |
java.lang.String |
processUrl(javax.servlet.http.HttpServletRequest request,
java.lang.String url) |
public java.lang.String processAction(javax.servlet.http.HttpServletRequest request, java.lang.String action)
public java.lang.String processAction(javax.servlet.http.HttpServletRequest request, java.lang.String action, java.lang.String method)
processAction
in interface org.springframework.web.servlet.support.RequestDataValueProcessor
public java.lang.String processFormFieldValue(javax.servlet.http.HttpServletRequest request, java.lang.String name, java.lang.String value, java.lang.String type)
processFormFieldValue
in interface org.springframework.web.servlet.support.RequestDataValueProcessor
public java.util.Map<java.lang.String,java.lang.String> getExtraHiddenFields(javax.servlet.http.HttpServletRequest request)
getExtraHiddenFields
in interface org.springframework.web.servlet.support.RequestDataValueProcessor
public java.lang.String processUrl(javax.servlet.http.HttpServletRequest request, java.lang.String url)
processUrl
in interface org.springframework.web.servlet.support.RequestDataValueProcessor