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
Constructors Constructor Description DefaultUnauthorizedResourceRequestListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
createErrorMessage(IResource resource, PageParameters parameters)
void
onUnauthorizedRequest(IResource resource, PageParameters parameters)
Called when a request to a given resource is not allowed
-
-
-
Constructor Detail
-
DefaultUnauthorizedResourceRequestListener
public DefaultUnauthorizedResourceRequestListener()
-
-
Method Detail
-
onUnauthorizedRequest
public void onUnauthorizedRequest(IResource resource, PageParameters parameters)
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
protected String createErrorMessage(IResource resource, PageParameters parameters)
-
-