3 Replies Latest reply on Apr 1, 2005 2:25 AM by sheckler

    Custom CallbackHandler


      I wrote a custom CallbackHandler, which is handling nameCallback, passwordCallback and an additional mandantCallback.

      The CallbackHandler is used as a paramenter for the LoginContext and the ClientLoginModule (configured by JAAS configuration file on the client side) is initialized with this callbackHandler, but the DatabaseLogonModule configured within login-config.xml on the serverside is not! The DatabaseLogonModule is initialized with a SecurityAssociationHandler, which does not handle the mandantCallback.

      How can the ServerLogonModule use the same CallbackHandler as the ClientLoginModul?