Thanks a million.  That pushed me closer.  I created a jaas.conf containing:

JaasJNDI {
  |   com.sun.security.auth.module.JndiLoginModule required;
  | };

and confirmed in debug mode that it loads the configuration.

It gets past the point where it threw an exception trying to extablish a 
context in org.jboss.security.jndi.LoginInitialContextFactory.java because it 
couldn't find a configuration,

LoginContext lc = new LoginContext(protocol, handler);

and now fails on the next line where it tries to login:

lc.login();

with this exception:

javax.security.auth.login.LoginException: Error: Unable to locate JNDI user 
provider

Although I have trace enabled in JBoss for org.jboss.security, nothing is 
output when this happens, so I'm not sure if it actually tries to talk to the 
server at this point.  

The JNDI URL for the home interface is correct, as it succeeds to invoke the 
session beans that don't require authorized users of roles when the JNDI 
SECURITY_ parameters are not supplied or do not prevent creation of the home 
interface.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903238#3903238

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903238


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to