This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Celinio Fernandes
Ranch Hand
Posts: 549
Eclipse IDE Google Web Toolkit Java
  • 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
  • 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
  • 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
  • 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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!