This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes JBoss LdapLoginModule always connects to localhost Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JBoss LdapLoginModule always connects to localhost" Watch "JBoss LdapLoginModule always connects to localhost" New topic
Author

JBoss LdapLoginModule always connects to localhost

Stefan Müller
Greenhorn

Joined: Jun 25, 2008
Posts: 12
Hello,

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JBoss LdapLoginModule always connects to localhost
 
Similar Threads
Configuring the application policy in login-config.xml for LDAP Apache DS
Example Code for JAAS with JBoss? Got it to work by "fudging." How do Right?
LdapLoginModule - almost working
JBOSS LdapLoginModule authentication. Help needed for code to use LoginContext
Migration from JBOSS to weblogic 11G