The cache is flushed based on time which is 30 mins by default. Change this in the
conf/jboss-service.xml descriptor as documented in the admin/devel book:

  <mbean code="org.jboss.security.plugins.JaasSecurityManagerService"
    name="jboss.security:service=JaasSecurityManager">
    <attribute name="SecurityManagerClassName">
      org.jboss.security.plugins.JaasSecurityManager
    </attribute>
    <attribute name="DefaultCacheTimeout">0</attribute>
  </mbean>

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx

----- Original Message ----- 
From: "Victor Batista" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 07, 2003 8:06 AM
Subject: [JBoss-user] DatabaseServerLoginModule is caching Roles Info...how to 
deactivate?


> Hello!
> My JBoss is caching the user's roles info. How can I deactivate this
> caching mechanism?
> Suppose I am logged with a User with Roles A and B. If this user changes
> his roles (Administrator :-)), and adds Role C, the user wan't have this
> permission until JBoss is restarted. If I change the roles of a user who has
> already loggen in any time, I get the same problem.
> Is it possible to deactivate this caching mechanism, and force JBoss to
> read data from the database every time?
> 
> Any help would be welcome.
> 
> Thanks in advance,
> Victor Batista
> 
> PS - I am using JBoss 3.0.4 with bundled Tomcat 4.0.6. I am using
> DatabaseServerLoginModule



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to