Wrong Login Module UsernamePasswordLoginModule used instead of LdapExtLoginModule.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Issue
- Wrong Login Module
UsernamePasswordLoginModuleused byJboss EAPwhereLdapExtLoginModulehas been configured.
14:22:34,958 DEBUG [org.jboss.security] (http-/127.0.0.1:8080-1) PBOX000206: Login failure: javax.security.auth.login.FailedLoginException: PBOX000070: Password invalid/Password required
at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:284) [picketbox-4.0.19.SP5-redhat-1.jar:4.0.19.SP5-redhat-1]
Resolution
- This is expected log message generated be
LdapExtLoginModuleitself in case of wrong password as classLdapExtLoginModuleextends the abstract classUsernamePasswordLoginModuleand it is the abstract classUsernamePasswordLoginModulewhich used to validate the password for login moduleLdapExtLoginModule.
public class LdapExtLoginModule extends UsernamePasswordLoginModule
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
