org.springframework.security.web.authentication.logout
Class SimpleUrlLogoutSuccessHandler

java.lang.Object
  extended by org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler
      extended by org.springframework.security.web.authentication.logout.SimpleUrlLogoutSuccessHandler
All Implemented Interfaces:
LogoutSuccessHandler

public class SimpleUrlLogoutSuccessHandler
extends AbstractAuthenticationTargetUrlRequestHandler
implements LogoutSuccessHandler

Handles the navigation on logout by delegating to the AbstractAuthenticationTargetUrlRequestHandler base class logic.

Since:
3.0
Version:
$Id: SimpleUrlLogoutSuccessHandler.java 3834 2009-08-22 18:02:39Z ltaylor $
Author:
Luke Taylor

Field Summary
 
Fields inherited from class org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler
DEFAULT_TARGET_PARAMETER, logger
 
Constructor Summary
SimpleUrlLogoutSuccessHandler()
           
 
Method Summary
 void onLogoutSuccess(HttpServletRequest request, HttpServletResponse response, Authentication authentication)
           
 
Methods inherited from class org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler
determineTargetUrl, getDefaultTargetUrl, getRedirectStrategy, getTargetUrlParameter, handle, isAlwaysUseDefaultTargetUrl, setAlwaysUseDefaultTargetUrl, setDefaultTargetUrl, setRedirectStrategy, setTargetUrlParameter, setUseReferer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleUrlLogoutSuccessHandler

public SimpleUrlLogoutSuccessHandler()
Method Detail

onLogoutSuccess

public void onLogoutSuccess(HttpServletRequest request,
                            HttpServletResponse response,
                            Authentication authentication)
                     throws IOException,
                            ServletException
Specified by:
onLogoutSuccess in interface LogoutSuccessHandler
Throws:
IOException
ServletException


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