Mantis - Resin
Viewing Issue Advanced Details
2686 minor always 05-21-08 10:25 06-05-08 13:45
ferg  
ferg  
normal  
closed 3.1.6  
fixed  
none    
none 3.2.0  
0002686: authenticator needs to be stored in servletcontext caucho.authenticator
(rep by Anthony Blandran)


We cannot view the Resin 3.1 change log from http://caucho.com/resin/changes/changes.xtp. [^]

We get the following error:

500 Servlet Exception

[show] java.io.FileNotFoundException: /var/www/hosts/www.caucho.com/webapps/resin/changes/changes-31.xtp

We are trying to determine if there were any changes with the Authenticator between 3.1.3 and 3.1.5? Now our code for logging out a user does not work.

   final ServletContext servletContext = getServletContext();

   final Authenticator authenticator =
   (Authenticator) servletContext.getAttribute("caucho.authenticator");

   if (authenticator != null)
     authenticator.logout(request, response, servletContext, request.getUserPrincipal());

authenticator.logout is no longer called because authenticator is null.

What do we need to do to make logout work again?


Notes
(0003137)
ferg   
06-05-08 13:45   
server/1a36