]
Darran Lofthouse updated SECURITY-933:
--------------------------------------
Fix Version/s: Negotiation_3_0_1_CR1
The root cause of login module failures gets lost when multiple login
modules are stacked
-----------------------------------------------------------------------------------------
Key: SECURITY-933
URL:
https://issues.jboss.org/browse/SECURITY-933
Project: PicketBox
Issue Type: Bug
Components: Negotiation
Reporter: Tomas Hofman
Assignee: Tomas Hofman
Fix For: Negotiation_3_0_1_CR1
https://bugzilla.redhat.com/show_bug.cgi?id=1288668
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.