JBoss Community

Re: Can't get ConnectionFactory for JMS from JNDI when using custom security domain

created by Somefname1 Somelname1 in JBoss Messaging - View the full discussion

Finaly found property set, that worked:

 

params.setProperty("jboss.naming.client.connect.options.org.xnio.Options.SASL_POLICY_NOPLAINTEXT", "false");

params.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.naming.remote.client.InitialContextFactory");

params.setProperty(Context.PROVIDER_URL, "remote://localhost:4447");

params.setProperty(Context.SECURITY_PRINCIPAL, "user");

params.setProperty(Context.SECURITY_CREDENTIALS, "password");

Reply to this message by going to Community

Start a new discussion in JBoss Messaging at Community