public class CrowdXsrfTokenInterceptor extends XsrfTokenInterceptor
XsrfTokenInterceptor.SecurityLevel
CONFIG_PARAM_NAME, OVERRIDE_HEADER_NAME, OVERRIDE_HEADER_VALUE, REQUEST_PARAM_NAME, SECURITY_TOKEN_REQUIRED_ERROR_KEY, VALIDATION_FAILED_ERROR_KEY
Constructor and Description |
---|
CrowdXsrfTokenInterceptor() |
Modifier and Type | Method and Description |
---|---|
protected String |
internationaliseErrorMessage(com.opensymphony.xwork2.Action action,
String messageKey)
Convert an error message key into the correct message for the current user's locale.
|
addInvalidTokenError, destroy, getSecurityLevel, init, intercept
protected String internationaliseErrorMessage(com.opensymphony.xwork2.Action action, String messageKey)
XsrfTokenInterceptor
internationaliseErrorMessage
in class XsrfTokenInterceptor
action
- the current action being executedmessageKey
- the message key that needs internationalisingCopyright © 2021 Atlassian. All rights reserved.