[jboss-user] [Security & JAAS/JBoss] - Re: Accessing a secure EJB from standalone Java client

jaikiran do-not-reply at jboss.com
Sat Nov 1 02:29:14 EDT 2008


anonymous wrote : env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.security.jndi.JndiLoginInitialContextFactory");

This looks incorrect. I usually use:

env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");

See if this change fixes the issue. If not, please follow what Wolfgang mentioned in his post.
 

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

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



More information about the jboss-user mailing list