示例#1
0
 /* (non-Javadoc)
  * @see org.springframework.security.web.authentication.logout.LogoutSuccessHandler#onLogoutSuccess(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.springframework.security.core.Authentication)
  */
 @Override
 public void onLogoutSuccess(HttpServletRequest req, HttpServletResponse res, Authentication auth)
     throws IOException, ServletException {
   userService.updateLogout(auth);
   super.handle(req, res, auth);
 }
 @Override
 public void onLogoutSuccess(
     HttpServletRequest request, HttpServletResponse response, Authentication authentication)
     throws IOException, ServletException {
   super.handle(request, response, authentication);
 }
示例#3
0
 public LogoutListener() {
   super.setAlwaysUseDefaultTargetUrl(true);
 }