The Answer: These are the properties: -Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
-Djava.naming.provider.url=jnp://JBOSS_HOST:1099/ -Djava.security.auth.login.config=login.conf The login.conf file, pointed to by ?java.security.auth.login.config?, needs to contain: jboss_client { org.jboss.security.ClientLoginModule required; }; Your remote application needs to authenticate before making any EJB (delegate) calls. This is the code: LoginContext lc = new LoginContext( "jboss_client", new TextCallbackHandler() ); lc.login(); The TextCallbackHandler is an example that prompts for credentials from the console. Your app may instead opt to implement a custom callbackhandler that gets credentials by some other means?depends on requirements. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861596#3861596 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861596 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user