2 Replies Latest reply on Dec 31, 2004 9:51 AM by Scott Stark

    Caching User Roles

    Oleg Timoshenko Newbie

      Hi all,
      I store users/roles in a Sybase database for server-side user authentication.
      But I found that after user successfully logs in for the first time, the Roles assigned to that user are cached, i.e. even if I change Roles membership for this user in the database, the user still gets the old set of Roles after authentification.
      This effect persists until I restart JBoss.
      I need to manage user roles dynamically without restarting a server.

      How can I switch off caching?

      Many thanks in advance.

      I use JBoss 4.0.0, Sybase jdbc drivers are taken from ASA 8.0.2, jConnect ver.5