Open GoogleCodeExporter opened 9 years ago
Oops!
// This is an @Override for Tomcat 7, but not for Tomcat 6.
public void logout(Request request)
{
// Just clear the remote user.
request.setUserPrincipal(null);
request.setAuthType(null);
Session session = request.getSessionInternal(false);
if (session != null)
{
session.setPrincipal(null);
session.removeNote(Constants.SESS_USERNAME_NOTE);
session.removeNote(Constants.SESS_PASSWORD_NOTE);
}
}
Original comment by EsmondP...@gmail.com
on 15 Aug 2012 at 4:55
Original issue reported on code.google.com by
EsmondP...@gmail.com
on 15 Aug 2012 at 4:48