CsrfPreventionRequestCycleListener |
CsrfPreventionRequestCycleListener.addAcceptedOrigin(String acceptedOrigin) |
Adds an origin (host name/domain name) to the white list.
|
CsrfPreventionRequestCycleListener |
CsrfPreventionRequestCycleListener.setConflictingOriginAction(CsrfPreventionRequestCycleListener.CsrfAction action) |
Sets the action when a conflicting Origin header is detected.
|
CsrfPreventionRequestCycleListener |
CsrfPreventionRequestCycleListener.setErrorCode(int errorCode) |
Modifies the HTTP error code in the exception when a conflicting Origin header is detected.
|
CsrfPreventionRequestCycleListener |
CsrfPreventionRequestCycleListener.setErrorMessage(String errorMessage) |
Modifies the HTTP message in the exception when a conflicting Origin header is detected.
|
CsrfPreventionRequestCycleListener |
CsrfPreventionRequestCycleListener.setNoOriginAction(CsrfPreventionRequestCycleListener.CsrfAction action) |
Sets the action when no Origin header is present in the request.
|