2 Replies Latest reply on Jul 9, 2003 10:20 AM by tpearsall

    Any way to avoid the auth.conf file?

    tpearsall Newbie

      Instead of jndi.properties I include the jndi fields I need in the login box and set the environment variables before calling the initial context:

      Hashtable env = new Hashtable();
      env.put(Context.PROVIDER_URL, loginPanel.getJNDIService());
      env.put(Context.URL_PKG_PREFIXES, loginPanel.getPackagePrefix());
      ic = new InitialContext(env);

      Is there a similar way to set the values from auth.conf for the client?
      AtlantisSecurity {
      org.jboss.security.ClientLoginModule required;

      It would be so much easier (although potentially less portable) than keeping track of the auth.conf file.