org.zkoss.zkplus.acegi
Class ZkAccessDeniedHandler
java.lang.Object
org.zkoss.zkplus.acegi.ZkAccessDeniedHandler
- All Implemented Interfaces:
- org.acegisecurity.ui.AccessDeniedHandler
public class ZkAccessDeniedHandler
- extends java.lang.Object
- implements org.acegisecurity.ui.AccessDeniedHandler
Used by ExceptionTranslationFilter to handle an
AccessDeniedException
. This handler will popup the specified error page so it
must be a Window that can be doModel.
Applicable to Acegi Security version 1.0.3
- Author:
- Henri
Method Summary |
java.lang.String |
getErrorPage()
|
void |
handle(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
org.acegisecurity.AccessDeniedException accessDeniedException)
|
void |
setErrorPage(java.lang.String url)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZkAccessDeniedHandler
public ZkAccessDeniedHandler()
setErrorPage
public void setErrorPage(java.lang.String url)
getErrorPage
public java.lang.String getErrorPage()
handle
public void handle(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
org.acegisecurity.AccessDeniedException accessDeniedException)
throws java.io.IOException,
javax.servlet.ServletException
- Specified by:
handle
in interface org.acegisecurity.ui.AccessDeniedHandler
- Throws:
java.io.IOException
javax.servlet.ServletException
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.