1 Reply Latest reply on Nov 18, 2007 9:12 PM by Anil Saldanha

    Save LoginContext !

    LeQuoc Thai Novice

      Hi all!

      I use jboss-4.0.5.GA and EJB 3.0 and I use JAAS with DatabaseLoginModule to authenticate the specify client:

      LoginContext lc = new LoginContext("userTest", new MyCallbackHandler(username, passwd));
      lc.login();

      I want save LoginContext to database. Have any way that I can save LoginContext to each client (ex: client A login, and I save A's LoginContext). But it is not Serializable.
      My idea is Server will logout client by:
      lc.logout();


      Have some ideas ?