1 Reply Latest reply on Apr 29, 2004 10:09 AM by Scott Stark

    ClientLoginModule

    morenito9000 Newbie

      Hi all,
      I'm trying to use JBoss authentication mechanism
      but I'm a little confused about it.

      Three questions ....

      1) Client Side: If I use the ClientLoginModule
      does I have to code only the CallbackHandler class ?

      2) Client Side: After login phase, my client application must retrieve
      the Subject (login.getSubject()) and put all the requests
      to the server (call to ejb's method) inside the Subject.doAs() method ?

      3) Server Side: Inside login-config.xml I don't find any example of DatabaseServerLoginModule.
      Does I have to put the proper configuration inside login-config.xml
      file (with all infos about DatabaseServerLoginModule I need to
      use) ?

      Many thanks in advance
      Moreno