public class DefaultUnauthorizedResourceRequestListener extends Object implements IUnauthorizedResourceRequestListener
Constructor and Description |
---|
DefaultUnauthorizedResourceRequestListener() |
Modifier and Type | Method and 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
|
public DefaultUnauthorizedResourceRequestListener()
public void onUnauthorizedRequest(IResource resource, PageParameters parameters)
IUnauthorizedResourceRequestListener
onUnauthorizedRequest
in interface IUnauthorizedResourceRequestListener
resource
- The requested resource which processing is not allowedparameters
- The request parametersprotected String createErrorMessage(IResource resource, PageParameters parameters)
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.