1 Reply Latest reply on Apr 11, 2003 9:30 AM by Peter Doornbosch

    CallbackHandler

    aciccare Newbie

      I am creating a new LoginContext:

      LoginContext lc = new LoginContext("CTLogin", new GFWCallbackHandler(userId, pwd));

      For some reason, LoginContext does not seem to be picking up my CallbackHandler and therefore my Login Module can not see it either. Do I need to specify a configuration setting for the CallbackHandler in a JBoss configuration file. If so then which one? If this is not the problem then what else might it be?

        • 1. Re: CallbackHandler
          Peter Doornbosch Apprentice

          > For some reason, LoginContext does not seem to be
          > picking up my CallbackHandler

          What do you by "does not seem to be picking up"? What happens, what does not happen, what is logged, etc.

          > Do I need to specify a
          > configuration setting for the CallbackHandler in a
          > JBoss configuration file.

          No.

          > If
          > this is not the problem then what else might it be?

          CTLogin is specified in the login-config.xml and you do call lc.login() somewhere, right?

          Peter