nu.localhost.tapestry5.springsecurity.services.internal
Class T5AccessDeniedHandler

java.lang.Object
  extended by 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

Constructor Summary
T5AccessDeniedHandler()
           
 
Method Summary
protected  String buildRedirectUrlToLoginPage(HttpServletRequest request, HttpServletResponse response, AccessDeniedException authException)
           
 void handle(ServletRequest request, ServletResponse response, AccessDeniedException accessDeniedException)
           
 void setErrorPage(String errorPage)
           
 void setForceHttps(boolean forceHttps)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

T5AccessDeniedHandler

public T5AccessDeniedHandler()
Method Detail

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.