0 Replies Latest reply on May 9, 2002 5:29 PM by dschalle

    How to use my own Callback??

    dschalle

      Hello,

      I use the UserPasswordLoginModule and additional to the username and the password, I want to give some more important information from the client to the server. However, that information is needed during the login process on the server, so that it would not be possible to transfer it after the login.
      So I added the TextInputCallback to the NameCallback and PasswordCallback, which should all now be handled. I also extend my CallbackHandler so that it is able to handle the new added Callback, however, an exception is thrown, that the CallbackHandler does not support that TextInputCallback.
      A System.out.println shows, that the server does not use my CallbackHandler but maybe its own. Spite of I create a new LoginContext with my CallbackHandler on the client site.

      Does anybody whats going wrong? Or what I should change in addition?

      I am using JBoss 2.4.4

      Thanks

      Daniel