Interface CsrfToken
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- DefaultCsrfToken
Provides the information about an expected CSRF token.
- Since:
- 3.2
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionGets the HTTP header that the CSRF is populated on the response and can be placed on requests instead of the parameter.Gets the HTTP parameter name that should contain the token.getToken()Gets the token value.
- 
Method Details- 
getHeaderNameString 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
 
- 
getParameterNameString getParameterName()Gets the HTTP parameter name that should contain the token. Cannot be null.- Returns:
- the HTTP parameter name that should contain the token.
 
- 
getTokenString getToken()Gets the token value. Cannot be null.- Returns:
- the token value
 
 
-