Tabnine Logo
SessionsSecurityManager.applyCacheManagerToSessionManager
Code IndexAdd Tabnine to your IDE (free)

How to use
applyCacheManagerToSessionManager
method
in
org.apache.shiro.mgt.SessionsSecurityManager

Best Java code snippets using org.apache.shiro.mgt.SessionsSecurityManager.applyCacheManagerToSessionManager (Showing top 9 results out of 315)

origin: apache/shiro

protected void afterSessionManagerSet() {
  applyCacheManagerToSessionManager();
  applyEventBusToSessionManager();
}
origin: apache/shiro

/**
 * Default no-arg constructor, internally creates a suitable default {@link SessionManager SessionManager} delegate
 * instance.
 */
public SessionsSecurityManager() {
  super();
  this.sessionManager = new DefaultSessionManager();
  applyCacheManagerToSessionManager();
}
origin: apache/shiro

/**
 * Calls {@link org.apache.shiro.mgt.AuthorizingSecurityManager#afterCacheManagerSet() super.afterCacheManagerSet()} and then immediately calls
 * {@link #applyCacheManagerToSessionManager() applyCacheManagerToSessionManager()} to ensure the
 * <code>CacheManager</code> is applied to the SessionManager as necessary.
 */
@Override
protected void afterCacheManagerSet() {
  super.afterCacheManagerSet();
  applyCacheManagerToSessionManager();
}
origin: org.apache.shiro/shiro-core

/**
 * Default no-arg constructor, internally creates a suitable default {@link SessionManager SessionManager} delegate
 * instance.
 */
public SessionsSecurityManager() {
  super();
  this.sessionManager = new DefaultSessionManager();
  applyCacheManagerToSessionManager();
}
origin: org.apache.shiro/shiro-core

/**
 * Calls {@link org.apache.shiro.mgt.AuthorizingSecurityManager#afterCacheManagerSet() super.afterCacheManagerSet()} and then immediately calls
 * {@link #applyCacheManagerToSessionManager() applyCacheManagerToSessionManager()} to ensure the
 * <code>CacheManager</code> is applied to the SessionManager as necessary.
 */
@Override
protected void afterCacheManagerSet() {
  super.afterCacheManagerSet();
  applyCacheManagerToSessionManager();
}
origin: org.apache.shiro/shiro-core

protected void afterSessionManagerSet() {
  applyCacheManagerToSessionManager();
  applyEventBusToSessionManager();
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.shiro

protected void afterSessionManagerSet() {
  applyCacheManagerToSessionManager();
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.shiro

/**
 * Default no-arg constructor, internally creates a suitable default {@link SessionManager SessionManager} delegate
 * instance.
 */
public SessionsSecurityManager() {
  super();
  this.sessionManager = new DefaultSessionManager();
  applyCacheManagerToSessionManager();
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.shiro

/**
 * Calls {@link org.apache.shiro.mgt.AuthorizingSecurityManager#afterCacheManagerSet() super.afterCacheManagerSet()} and then immediately calls
 * {@link #applyCacheManagerToSessionManager() applyCacheManagerToSessionManager()} to ensure the
 * <code>CacheManager</code> is applied to the SessionManager as necessary.
 */
protected void afterCacheManagerSet() {
  super.afterCacheManagerSet();
  applyCacheManagerToSessionManager();
}
org.apache.shiro.mgtSessionsSecurityManagerapplyCacheManagerToSessionManager

Javadoc

Ensures the internal delegate SessionManager is injected with the newly set #setCacheManager so it may use it for its internal caching needs.

Note: This implementation only injects the CacheManager into the SessionManager if the SessionManager instance implements the CacheManagerAware interface.

Popular methods of SessionsSecurityManager

  • getSessionManager
    Returns this security manager's internal delegate SessionManager.
  • afterSessionManagerSet
  • getCacheManager
  • applyEventBusToSessionManager
    Ensures the internal delegate SessionManager is injected with the newly set #setEventBus so it may u
  • getEventBus
  • setAuthenticator
  • setAuthorizer
  • setCacheManager
  • setEventBus
  • setRealms
  • setSessionManager
    Sets the underlying delegate SessionManager instance that will be used to support this implementatio
  • setSessionManager

Popular in Java

  • Making http post requests using okhttp
  • putExtra (Intent)
  • startActivity (Activity)
  • onCreateOptionsMenu (Activity)
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now