org.jboss.security.plugins.auth
Class JaasSecurityManagerBase.DomainInfo
java.lang.Object
org.jboss.security.plugins.auth.JaasSecurityManagerBase.DomainInfo
- All Implemented Interfaces:
- org.jboss.util.TimedCachePolicy.TimedEntry
- Enclosing class:
- JaasSecurityManagerBase
public static class JaasSecurityManagerBase.DomainInfo
- extends Object
- implements org.jboss.util.TimedCachePolicy.TimedEntry
The authentication cache object.
loginCtx
protected LoginContext loginCtx
subject
protected Subject subject
credential
protected Object credential
callerPrincipal
protected Principal callerPrincipal
JaasSecurityManagerBase.DomainInfo
public JaasSecurityManagerBase.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 © 2009 JBoss Inc.. All Rights Reserved.