|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Cache | |
---|---|
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. |
Uses of Cache in org.apache.shiro.cache |
---|
Classes in org.apache.shiro.cache that implement Cache | |
---|---|
class |
MapCache<K,V>
A MapCache is a Cache implementation that uses a backing Map instance to store
and retrieve cached data. |
Methods in org.apache.shiro.cache that return Cache | ||
---|---|---|
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 . |
|
|
CacheManager.getCache(String name)
Acquires the cache with the specified name . |
|
|
AbstractCacheManager.getCache(String name)
Returns the cache with the specified name . |
Uses of Cache in org.apache.shiro.realm |
---|
Methods in org.apache.shiro.realm that return Cache | |
---|---|
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()
|
Methods in org.apache.shiro.realm with parameters of type Cache | |
---|---|
void |
AuthenticatingRealm.setAuthenticationCache(Cache<Object,AuthenticationInfo> authenticationCache)
Sets an explicit Cache instance to use for authentication caching. |
void |
AuthorizingRealm.setAuthorizationCache(Cache<Object,AuthorizationInfo> authorizationCache)
|
Uses of Cache in org.apache.shiro.session.mgt.eis |
---|
Methods in org.apache.shiro.session.mgt.eis that return Cache | |
---|---|
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. |
Methods in org.apache.shiro.session.mgt.eis with parameters of type Cache | |
---|---|
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |