Isn't this user information cached? I can't imagine that Jboss would do a db lookup every time a method is invoked. So wouldn't you have to flush this cache?
-----Original Message----- From: Alexander Titov [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 2:59 AM To: Nishant Aggarwal Subject: [JBoss-user] Dynamic Addition of Roles using JAAS Wednesday, November 5, 2003 07:49:22 Hello Nishant. I think it is possible. The security data (users, user groups, roles, and their associations) storage place is depends upon your decision. JBoss fetches these data during user authentication and authorization of user access to the EJB operations. It means that in the worst case, you have to force you user to make re-logon. I think that the best way to find information how to do it, is to read chapter 8 of the JBoss Administration and Development book. Ask more specific questions, to get more precise answers. Best regards, Alexander On Wed, 5 Nov 2003 12:40:44 -0800, you wrote: NA> Hi, NA> I have requirement in which I need to add dynamically, "new" roles NA> to my users. NA> But the problem being that I need to do it without restart of NA> JBoss. Is it possible? NA> Any help will be greatly appreciated? NA> Thanks in advance, NA> Nishant. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
