File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Celinio Fernandes
Ranch Hand
Posts: 549
Eclipse IDE Google Web Toolkit Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Celinio Fernandes
Ranch Hand
Posts: 549
Eclipse IDE Google Web Toolkit Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I fixed it, the login-config.xml was not configured well.
 
Celinio Fernandes
Ranch Hand
Posts: 549
Eclipse IDE Google Web Toolkit Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I fixed it, the login-config.xml was not configured well.
 
Regis Santos
Ranch Hand
Posts: 31
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic