When logging in as an LDAP user the server appended a message to the log that suggested an invalid path was requested. The user was correctly presented the user authentication page and could subsequently log on correctly, however the erroneous log message may have confused customers who discovered this in the logs. The fix ignores the log messages coming from the JSF layer. The incorrect error message no longer displays.
Description of problem:
When logging in as an LDAP user the server log spits out an error message indicating something isn't working:
ERROR [org.apache.struts.action.RequestProcessor] Invalid path was requested /admin/user/UserAdminPortal
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Enabled LDAP support in JON.
2. Login via LDAP as an LDAP user.
User is presented with the user registration page and is logged in but error is displayed in server's log.
This appears to have originally been captured in upstream bug 753769 but was closed assuming the issue had been fixed. Apparently it hadn't been completely fixed.
I'm 95% sure this must be obsolete given the changes to LDAP and the change to EAP base. Setting to ON_QA.
(In reply to Jay Shaughnessy from comment #1)
> I'm 95% sure this must be obsolete given the changes to LDAP and the change
> to EAP base. Setting to ON_QA.
Please note that this issue affects JBoss ON 3.2 as well and has been reported as recently as June. If we have made LDAP changes in 3.3 a reference to the BZs might be in order.
Tested in Version : 3.3.0.ER02 Build Number :4fbb183:7da54e2
After LDAP user login, following error message is logged in the server.log:
16:51:22,752 ERROR [org.apache.struts.action.RequestProcessor] (http-/0.0.0.0:7080-2) Invalid path was requested /admin/user/UserAdminPortal
OK, thanks for the re-test.
Moving into ER05 as didn't make the ER04 cut.
time: 2014-10-10 14:59:50 +0200
author: Jirka Kremser - firstname.lastname@example.org
message: [BZ 994267] - LDAP login causes Invalid path was requested error to
appear in server log - Ignoring 2 particular the log messages
coming from the JSF layer.
Cherry-picked over to release/jon3.3.x
Author: Jirka Kremser <email@example.com>
Date: Fri Oct 10 14:59:44 2014 +0200
(cherry picked from commit 4bc607dd9524fa249568dac261653c8b2d986802)
Signed-off-by: Thomas Segismont <firstname.lastname@example.org>
Moving to ON_QA as available to test with the latest brew build:
Verified on Version :JON 3.3.0.ER05 Build Number : 92b6d6a:2cdb528
There is no error message in the server.log after LDAP user login.