org.jboss.security.plugins
Class JaasSecurityManager.DomainInfo

java.lang.Object
  extended by org.jboss.security.plugins.JaasSecurityManager.DomainInfo
All Implemented Interfaces:
org.jboss.util.TimedCachePolicy.TimedEntry
Enclosing class:
JaasSecurityManager

public static class JaasSecurityManager.DomainInfo
extends Object
implements org.jboss.util.TimedCachePolicy.TimedEntry

The authentication cache object.


Constructor Summary
JaasSecurityManager.DomainInfo(long lifetime)
          Create a cache entry with the given lifetime in seconds.
 
Method Summary
 void destroy()
          This
 Object getValue()
           
 void init(long now)
           
 boolean isCurrent(long now)
           
 boolean refresh()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JaasSecurityManager.DomainInfo

public JaasSecurityManager.DomainInfo(long lifetime)
Create a cache entry with the given lifetime in seconds. Since this comes from the TimedCachePolicy, its expected to be <= Integer.MAX_VALUE.

Parameters:
lifetime - - lifetime in seconds. A lifetime <= 0 means no caching with the exception of -1 which indicates that the cache entry never expires.
Method Detail

init

public void init(long now)
Specified by:
init in interface org.jboss.util.TimedCachePolicy.TimedEntry

isCurrent

public boolean isCurrent(long now)
Specified by:
isCurrent in interface org.jboss.util.TimedCachePolicy.TimedEntry

refresh

public boolean refresh()
Specified by:
refresh in interface org.jboss.util.TimedCachePolicy.TimedEntry

destroy

public void destroy()
This

Specified by:
destroy in interface org.jboss.util.TimedCachePolicy.TimedEntry

getValue

public Object getValue()
Specified by:
getValue in interface org.jboss.util.TimedCachePolicy.TimedEntry

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.