Wrong Login Module UsernamePasswordLoginModule used instead of LdapExtLoginModule.

Solution Unverified - Updated -

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Issue

  • Wrong Login Module UsernamePasswordLoginModule used by Jboss EAP where LdapExtLoginModule has 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 LdapExtLoginModule itself in case of wrong password as class LdapExtLoginModule extends the abstract class UsernamePasswordLoginModule and it is the abstract class UsernamePasswordLoginModule which used to validate the password for login module LdapExtLoginModule.
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.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.