WOW!  I got it.  Thanks to the post of tineq I noted that he was using

 p.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jboss.security.jndi.JndiLoginInitialContextFactory");

whereas I was using org.jboss.security.jndi.LoginInitialContextFactory per the 
recommendation of 

http://wiki.jboss.org/wiki/Wiki.jsp?page=LoginInitialContextFactory

What do you know, I just plugged and found a 

http://wiki.jboss.org/wiki/Wiki.jsp?page=JndiLoginInitialContextFactory

page!  

With this class, you don't need to use Context.SECURITY_PROTOCOL or setup 
jaas.conf on the client.  It's as easy as it looks.

Both classes are in the 4.0.2 source.  I'm not sure at this poitn whe you'd use 
the class without the Jndi prefix, but it's looking more like a base class 
rather than a class you'd want to use directly.  Perhaps it's needed for some 
things like LDAP.

Anyway, thanks for your help tim.cockle; and your inadvertant help tineq!  
Hopefully someone else can benefit from the this thread.

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

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


-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to