aspose file tools*
The moose likes JBoss/WildFly and the fly likes [JBoss 6.0 M1] javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "[JBoss 6.0 M1] javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required" Watch "[JBoss 6.0 M1] javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required" New topic
Author

[JBoss 6.0 M1] javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required

Celinio Fernandes
Ranch Hand

Joined: Jun 28, 2003
Posts: 547

Hi,
Happy new year.

I have a problem when i try to log on a LDAP server through some Java code, using the LdapExtLoginModule login module in JBoss 6.O M1.

Here is my login-config.xml file :


Here is my Java code to connect to the LDAP server :


Here is the log of the server when i start it :



And here is the log when i attempt to connect with the previous Java code :




That's very strange because i can connect with that use using

How come it ignores the password, says it's incorrect / missing ?

Thanks for helping.


SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCBCD 5
Visit my blog
Celinio Fernandes
Ranch Hand

Joined: Jun 28, 2003
Posts: 547

I fixed it, the login-config.xml was not configured well.
Celinio Fernandes
Ranch Hand

Joined: Jun 28, 2003
Posts: 547

I fixed it, the login-config.xml was not configured well.
Regis Santos
Ranch Hand

Joined: Mar 23, 2004
Posts: 31
Hello Celinio Fernandes.

Can you please post the answer? Which kind of fix did you made on login-config.xml? I'm stuck in a similar problem.

Thanks.

--
Regis Santos
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: [JBoss 6.0 M1] javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required