anonymous wrote : Properties p = new Properties();
| //p.setProperty(Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
| p.setProperty("java.naming.factory.initial",
"org.jboss.security.jndi.JndiLoginInitialContextFactory");
| p.setProperty("java.naming.provider.url","localhost:1099");
|
p.setProperty("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces");
| p.setProperty(Context.SECURITY_PRINCIPAL, "kermit");
| p.setProperty(Context.SECURITY_CREDENTIALS, "thefrog");
|
This has changed in JBossAS-5. Checkout the EJB3 "security" tutorial to see how
its done now
http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/trunk/docs/tutorial/...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205237#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...