Package | Description |
---|---|
org.apache.wicket.protocol.http |
HTTP implementation.
|
org.apache.wicket.protocol.ws |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
WebSocketAwareCsrfPreventionRequestCycleListener
A specialization of
CsrfPreventionRequestCycleListener that should be used when
the application uses Web Sockets. |
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.