| Package | Description |
|---|---|
| org.apache.shiro.cache |
Caching support used to enhance performance for any security operation.
|
| org.apache.shiro.realm |
Components and sub-packages used in supporting the core
Realm interface. |
| org.apache.shiro.session.mgt.eis |
EIS (Enterprise Information System)-tier components that can perform CRUD operations for sessions
using any EIS API.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MapCache<K,V>
|
| Modifier and Type | Method and Description |
|---|---|
protected Cache |
MemoryConstrainedCacheManager.createCache(String name)
Returns a new
MapCache instance backed by a SoftHashMap. |
protected abstract Cache |
AbstractCacheManager.createCache(String name)
Creates a new
Cache instance associated with the specified name. |
<K,V> Cache<K,V> |
CacheManager.getCache(String name)
Acquires the cache with the specified
name. |
<K,V> Cache<K,V> |
AbstractCacheManager.getCache(String name)
Returns the cache with the specified
name. |
| Modifier and Type | Method and Description |
|---|---|
Cache<Object,AuthenticationInfo> |
AuthenticatingRealm.getAuthenticationCache()
Returns a
Cache instance to use for authentication caching, or null if no cache has been
set. |
Cache<Object,AuthorizationInfo> |
AuthorizingRealm.getAuthorizationCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
AuthenticatingRealm.setAuthenticationCache(Cache<Object,AuthenticationInfo> authenticationCache)
Sets an explicit
Cache instance to use for authentication caching. |
void |
AuthorizingRealm.setAuthorizationCache(Cache<Object,AuthorizationInfo> authorizationCache) |
| Modifier and Type | Method and Description |
|---|---|
protected Cache<Serializable,Session> |
CachingSessionDAO.createActiveSessionsCache()
Creates a cache instance used to store active sessions.
|
Cache<Serializable,Session> |
CachingSessionDAO.getActiveSessionsCache()
Returns the cache instance to use for storing active sessions.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
CachingSessionDAO.cache(Session session,
Serializable sessionId,
Cache<Serializable,Session> cache)
Caches the specified session in the given cache under the key of
sessionId. |
protected Session |
CachingSessionDAO.getCachedSession(Serializable sessionId,
Cache<Serializable,Session> cache)
Returns the Session with the specified id from the specified cache.
|
void |
CachingSessionDAO.setActiveSessionsCache(Cache<Serializable,Session> cache)
Sets the cache instance to use for storing active sessions.
|
Copyright © 2004-2016 The Apache Software Foundation. All Rights Reserved.