Module org.apache.wicket.core
Package org.apache.wicket.settings
Class DefaultUnauthorizedResourceRequestListener
java.lang.Object
org.apache.wicket.settings.DefaultUnauthorizedResourceRequestListener
- All Implemented Interfaces:
IUnauthorizedResourceRequestListener
public class DefaultUnauthorizedResourceRequestListener
extends Object
implements IUnauthorizedResourceRequestListener
An IUnauthorizedResourceRequestListener that schedules a response with status code 403 (Forbidden)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
createErrorMessage
(IResource resource, PageParameters parameters) void
onUnauthorizedRequest
(IResource resource, PageParameters parameters) Called when a request to a given resource is not allowed
-
Constructor Details
-
DefaultUnauthorizedResourceRequestListener
-
-
Method Details
-
onUnauthorizedRequest
Description copied from interface:IUnauthorizedResourceRequestListener
Called when a request to a given resource is not allowed- Specified by:
onUnauthorizedRequest
in interfaceIUnauthorizedResourceRequestListener
- Parameters:
resource
- The requested resource which processing is not allowedparameters
- The request parameters
-
createErrorMessage
-