Spring Security Framework

org.springframework.security.ui
Interface AccessDeniedHandler

All Known Implementing Classes:
AccessDeniedHandlerImpl

public interface AccessDeniedHandler

Used by ExceptionTranslationFilter to handle an AccessDeniedException.

Version:
$Id: AccessDeniedHandler.java 2142 2007-09-21 18:18:21Z luke_t $
Author:
Ben Alex

Method Summary
 void handle(ServletRequest request, ServletResponse response, AccessDeniedException accessDeniedException)
          Handles an access denied failure.
 

Method Detail

handle

void handle(ServletRequest request,
            ServletResponse response,
            AccessDeniedException accessDeniedException)
            throws IOException,
                   ServletException
Handles an access denied failure.

Parameters:
request - that resulted in an AccessDeniedException
response - so that the user agent can be advised of the failure
accessDeniedException - that caused the invocation
Throws:
IOException - in the event of an IOException
ServletException - in the event of a ServletException

Spring Security Framework

Copyright © 2004-2011 SpringSource, Inc. All Rights Reserved.