2 Replies Latest reply on Feb 7, 2002 1:41 PM by ppetit

    unable to locate login configuration

    larhlimi Newbie

      hi everyone!
      every time i try to access to a JAAS secure Domain i get an "javax.security.auth.login.LoginException: no LogiModule is configured for Manager-client" error
      i dont have any more ideas what to do. Can anyone help?
      my files look like this:

      System.setProperty"java.security.auth.login.config","file:/C:/auth.conf");
      AppCallbackHandler handler = new AppCallbackHandler(name, password.toCharArray());
      LoginContext lc = new LoginContext("Manager-Client", handler);
      System.out.println("Created LoginContext");
      lc.login();
      ...