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 java.lang.Object
- implements org.jboss.util.TimedCachePolicy.TimedEntry
The authentication cache object.
|
Method Summary |
void |
destroy()
Notify the entry that it has been removed from the cache. |
java.lang.Object |
getValue()
Get the value component of the TimedEntry. |
void |
init(long now)
Initializes an entry with the current cache time. |
boolean |
isCurrent(long now)
Is the entry still valid basis the current time |
boolean |
refresh()
Attempt to extend the entry lifetime by refreshing it. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static org.jboss.logging.Logger log
loginCtx
javax.security.auth.login.LoginContext loginCtx
subject
javax.security.auth.Subject subject
credential
java.lang.Object credential
callerPrincipal
java.security.Principal callerPrincipal
roles
java.security.acl.Group roles
expirationTime
long expirationTime
JaasSecurityManager.DomainInfo
public JaasSecurityManager.DomainInfo(int lifetime)
init
public void init(long now)
- Description copied from interface:
org.jboss.util.TimedCachePolicy.TimedEntry
- Initializes an entry with the current cache time. This is called when
the entry is first inserted into the cache so that entries do not
have to know the absolute system time.
- Specified by:
init in interface org.jboss.util.TimedCachePolicy.TimedEntry
isCurrent
public boolean isCurrent(long now)
- Description copied from interface:
org.jboss.util.TimedCachePolicy.TimedEntry
- Is the entry still valid basis the current time
- Specified by:
isCurrent in interface org.jboss.util.TimedCachePolicy.TimedEntry
refresh
public boolean refresh()
- Description copied from interface:
org.jboss.util.TimedCachePolicy.TimedEntry
- Attempt to extend the entry lifetime by refreshing it.
- Specified by:
refresh in interface org.jboss.util.TimedCachePolicy.TimedEntry
destroy
public void destroy()
- Description copied from interface:
org.jboss.util.TimedCachePolicy.TimedEntry
- Notify the entry that it has been removed from the cache.
- Specified by:
destroy in interface org.jboss.util.TimedCachePolicy.TimedEntry
getValue
public java.lang.Object getValue()
- Description copied from interface:
org.jboss.util.TimedCachePolicy.TimedEntry
- Get the value component of the TimedEntry. This may or may not
be the TimedEntry implementation.
- Specified by:
getValue in interface org.jboss.util.TimedCachePolicy.TimedEntry