2 Replies Latest reply on Jul 5, 2006 9:06 AM by Micha? ?elechowski

    authentication doesn't work if roles changed during applicat

    Micha? ?elechowski Newbie


      I am using DatabaseServerLoginModule to perform authentication. My application allows to manage users via web interface, as well as connecting users to predefined (unchangable) roles. When I create user I connect him to roles. This user is correctly authenticated and constrained with authentication rules, when logged in. Then I change roles for this user. The user logs out and then logs in. Although the roles information is changed in database, jboss still uses old roles information. Can this behaviour be changed somehow? I need to force jboss to reload authentication info from db every time before user logs in.

      Any suggestions would be appreciated.