Description of problem: The root cause of login module failures gets lost when multiple login modules are stacked and the "flag" attribute is set to "optional". When the login attempt fails (invalid bindCredential on the LdapExtLoginModule for example) the authentication request will continue to the next login module in the stack. In this situation, the exceptions "cause" attribute is getting overwritten during the processing of the other login modules. This results in the actual cause to get lost during processing. This makes troubleshooting authentication failures difficult.
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions
Tomas Hofman <thofman> updated the status of jira JBEAP-2817 to Coding In Progress
Bartosz Baranowski <bbaranow> updated the status of jira JBEAP-2817 to Resolved
Verified with EAP 6.4.12.CP.CR1;
Retroactively bulk-closing issues from released EAP 6.4 cummulative patches.