2 Replies Latest reply on Oct 28, 2005 3:01 PM by Dave Chen

    add roles: not visible to JBOSS

    Dave Chen Master

      I use database to keep username/password/roles via DatabaseServerLoginModel.

      When I add a role to a user using SQL, commit, but the role is not visible to JBOSS. In other words, httpServletRequest.isUserInRole(theNewRole) return false, even the user login out and then login again. But after I shut down JBOSS and restart JBoss, The new role is visible, working fine.

      Is there a way to tell JBOSS/Tomcat to load the new roles without restarting JBoss server?