[jboss-user] [EJB 3.0] - Re: Invalid User on EJB authentication (JBoss 5 CR2)
javidjamae
do-not-reply at jboss.com
Wed Oct 15 15:12:15 EDT 2008
I tried this using the following jndi.properties file:
| java.naming.factory.initial=org.jboss.security.jndi.JndiLoginInitialContextFactory
| java.naming.provider.url=jnp://localhost:1099
|
I then set the following in my client:
| Properties env = new Properties();
| env.setProperty(Context.SECURITY_PRINCIPAL, principal);
| env.setProperty(Context.SECURITY_CREDENTIALS, password);
| Context ctx = new InitialContext(env);
|
But I get the exact same issue, so I don't think its related to accessing the SecurityAssociation directly.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182489#4182489
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4182489
More information about the jboss-user
mailing list