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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...