I agree. We should be using sys props.
Sent from my iPhone
On Mar 22, 2012, at 6:36 PM, Scott Stark <sstark(a)redhat.com> wrote:
The
org.jboss.naming.remote.client.InitialContextFactory.createCallbackHandler(Properties)
method does not look for the Context.SECURITY_PRINCIPAL/Context.SECURITY_CREDENTIALS among
the system properties. This means that these values either need to be passed in via a
jboss-naming-client.properties or through the env passed to InitialContextFactory.
Wouldn't be better if we looked for all of the following as system properties to allow
system properties to be a complete specification of what is needed for a secure jndi
connection?
java.naming.security.principal
java.naming.security.credentials
jboss.naming.client.security.callback.handler.class
jboss.naming.client.security.password.base64
jboss.naming.client.security.realm
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev