-
Bug
-
Resolution: Fixed
-
Low
-
0.7.23
-
None
-
true
In HttpSecurityWrapper::getUserPrincipal session creation is forced when trying to retrieve the servlet context
public Principal getUserPrincipal() { if (securityConfig == null) { securityConfig = (SecurityConfig) request.getSession().getServletContext().getAttribute(SecurityConfig.STORAGE_KEY); } Principal user = securityConfig.getAuthenticator().getUser(request); return user; }
This can interfere with the SecurityFilter which uses the fact that a session exists to attempt to find a logged in user. It is also a generally bad practice to create a session needlessly.
- causes
-
CONFSERVER-7378 "Remember me" does not work with sun application servers
- Closed
- is duplicated by
-
SER-95 Cookie login fails if a previous filter creates a session
- Closed