org.jboss.security.plugins
Class JaasSecurityManager.DomainInfo
java.lang.Object
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.
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.
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.