Interface CsrfToken
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
DefaultCsrfToken
public interface CsrfToken extends java.io.Serializable- Since:
- 5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetHeaderName()Gets the HTTP header that the CSRF is populated on the response and can be placed on requests instead of the parameter.java.lang.StringgetParameterName()Gets the HTTP parameter name that should contain the token.java.lang.StringgetToken()Gets the token value.
-
-
-
Method Detail
-
getHeaderName
java.lang.String getHeaderName()
Gets the HTTP header that the CSRF is populated on the response and can be placed on requests instead of the parameter. Cannot be null.- Returns:
- the HTTP header that the CSRF is populated on the response and can be placed on requests instead of the parameter
-
getParameterName
java.lang.String getParameterName()
Gets the HTTP parameter name that should contain the token. Cannot be null.- Returns:
- the HTTP parameter name that should contain the token.
-
getToken
java.lang.String getToken()
Gets the token value. Cannot be null.- Returns:
- the token value
-
-