[jboss-user] [JBossCache] - Re: Relogin after 30 minutes

typsy do-not-reply at jboss.com
Thu Mar 13 12:02:00 EDT 2008


The solution might be, istead of having a simple "return false;" for JaasSecurityManager.refresh(), it may be replaced with this:

public boolean refresh() {
  |     expirationTime = System.currentTimeMillis() + (1000 * lifetime); 
  | //where lifetime usually = DefaultCacheTimeout value from jboss-service.xml
  |     return true;
  | }
  | 


Hope this helps. It worked in my case.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136354#4136354

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136354



More information about the jboss-user mailing list