org.kuali.rice.kns.web.struts.pojo
Class AuthorizationExceptionHandler

java.lang.Object
  extended by org.apache.struts.action.ExceptionHandler
      extended by org.kuali.rice.kns.web.struts.pojo.AuthorizationExceptionHandler

public class AuthorizationExceptionHandler
extends org.apache.struts.action.ExceptionHandler

Handles any AuthorizationException by logging it first and then passing it forward to an explanation page.


Field Summary
private static String AUTHORIZATION_EXCEPTION_HANDLER
           
private static org.apache.commons.logging.Log LOG
           
 
Constructor Summary
AuthorizationExceptionHandler()
           
 
Method Summary
 org.apache.struts.action.ActionForward execute(Exception exception, org.apache.struts.config.ExceptionConfig exceptionConfig, org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Logs the AuthorizationException before forwarding the user to the explanation page.
 
Methods inherited from class org.apache.struts.action.ExceptionHandler
logException, storeException, storeException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AUTHORIZATION_EXCEPTION_HANDLER

private static final String AUTHORIZATION_EXCEPTION_HANDLER
See Also:
Constant Field Values

LOG

private static final org.apache.commons.logging.Log LOG
Constructor Detail

AuthorizationExceptionHandler

public AuthorizationExceptionHandler()
Method Detail

execute

public org.apache.struts.action.ActionForward execute(Exception exception,
                                                      org.apache.struts.config.ExceptionConfig exceptionConfig,
                                                      org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
Logs the AuthorizationException before forwarding the user to the explanation page.

Overrides:
execute in class org.apache.struts.action.ExceptionHandler
See Also:
ExceptionHandler.execute( java.lang.Exception, org.apache.struts.config.ExceptionConfig, org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.