-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.2.X, 7.3.X, Master
-
Fix Version/s: 7.2.10 DXP FP11, 7.2.10.4 DXP SP4, 7.2.X, 7.3.10 DXP FP1, 7.3.10.1 DXP SP1, 7.3.6 CE GA7, 7.3.X, 7.4.13 DXP GA1, Master
-
Component/s: Application Security > Auto Login
-
Branch Version/s:7.3.x, 7.2.x
-
Backported to Branch:Committed
-
Story Points:1
-
Fix Priority:2
-
Git Pull Request:
Steps to reproduce
- Enable JAAS and set the authentication type to screen name
portal.jaas.enable=true portal.jaas.auth.type=screenName
- Start Liferay with JPDA (./catalina.sh jpda run, and attach a debugger
- Add a logging breakpoint to MainServlet._loginUser which sets "remoteUser" to the screen name of a real user ("test") to simulate a successful login through JAAS that provides the correct login
- Visit the portal
Expected behavior is that you are able to visit the portal as the user specified in step 3 (test) and there is no stack trace in the logs.
Actual behavior is that you get a stack trace.