[jboss-user] [Security & JAAS/JBoss] - Save LoginContext !

catania do-not-reply at jboss.com
Thu Nov 15 21:56:17 EST 2007


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 ?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105297#4105297

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105297



More information about the jboss-user mailing list