so....
Also tried "org.jboss.security.jndi.JndiLoginInitialContextFactory" without the 
AppcallbackHandler

           Properties env = new Properties();
  |        env.setProperty(Context.INITIAL_CONTEXT_FACTORY, 
"org.jboss.security.jndi.JndiLoginInitialContextFactory");
  |        env.put("java.naming.provider.url", "jbossserver:1099");
  |        env.put("java.naming.factory.url.pkgs", 
"org.jboss.naming:org.jnp.interfaces"); 
  |        env.setProperty(Context.SECURITY_PRINCIPAL, "username");
  |        env.setProperty(Context.SECURITY_CREDENTIALS, "password");
  | 
  |        InitialContext results = null;
  |        try{
  |               results = new InitialContext(env);
  |        }catch(Exception e){
  |                e.printStackTrace();
  |        }
  | 

And still getting

java.io.NotSerializableException: com.sun.jndi.ldap.LdapCtx

Is this the wrong forum or am I just doing something really wrong?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980410
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to