nu.localhost.tapestry5.springsecurity.services.internal
Class T5AccessDeniedHandler
java.lang.Object
nu.localhost.tapestry5.springsecurity.services.internal.T5AccessDeniedHandler
- All Implemented Interfaces:
- AccessDeniedHandler
public class T5AccessDeniedHandler
- extends Object
- implements AccessDeniedHandler
Enables Tapestry to handle AccessDenied Exceptions. So you can show some
additional information on your Page.
TODO At the time only the implied PortMapping(80:443) is supported.
- Author:
- Michael Gerzabek
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
T5AccessDeniedHandler
public T5AccessDeniedHandler()
handle
public void handle(ServletRequest request,
ServletResponse response,
AccessDeniedException accessDeniedException)
throws IOException,
ServletException
- Specified by:
handle in interface AccessDeniedHandler
- Throws:
IOException
ServletException
buildRedirectUrlToLoginPage
protected String buildRedirectUrlToLoginPage(HttpServletRequest request,
HttpServletResponse response,
AccessDeniedException authException)
setErrorPage
public void setErrorPage(String errorPage)
setForceHttps
public void setForceHttps(boolean forceHttps)
Copyright © 2007-2009 Robin Helgelin. All Rights Reserved.