SpringPlainTextPasswordValidationCallbackHandler overrides handleUsernameTokenUnknown() with code that looks like it should be in handleUsernameToken(),. i.e. the code that actually delegates to Spring Security's AuthenticationManager.
The result is that the class doesn't work at all, throwing an UnsupportedCallbackException for all authentication attempts. Moving the relevant code to handleUsernameToken() fixes things and all works as expected.
|Field||Original Value||New Value|
|Fix Version/s||1.5.7 [ 11173 ]|
|Assignee||Arjen Poutsma [ arjen.poutsma ]||Tareq Abed Rabbo [ tareq ]|
|Status||Open [ 1 ]||In Progress [ 3 ]|
|Assignee||Tareq Abed Rabbo [ tareq ]||Arjen Poutsma [ arjen.poutsma ]|
|Status||In Progress [ 3 ]||Resolved [ 5 ]|
|Resolution||Invalid [ 6 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|