• Post Reply Bookmark Topic Watch Topic
  • New Topic

JBoss LdapLoginModule always connects to localhost  RSS feed

Stefan Müller
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I'm trying to setup security for ejbs based on LDAP. I created a demo-EJB "SecuirtyTest" and setup all configuration. When I try to login with the client, the LDAPLoginModule tries to connect to localhost although I configured a different server. It seems that it doesn't use the LDAPLoginModule configuration. But the xml-File is definitly parsed by the server.
Any ideas why this is not working?

The the META-INF/jboss.xml contains:

The login-config.xml contains:

The client application looks like

and the login.conf contains
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!