Codota Logo
SessionsSecurityManager.setSessionManager
Code IndexAdd Codota to your IDE (free)

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
DateTime d =
  • Codota Iconnew DateTime()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseDateTime(text)
  • Codota IconObject instant;new DateTime(instant)
  • Smart code suggestions by Codota
}
origin: apache/shiro

protected SessionsSecurityManager securityManager(List<Realm> realms) {
  SessionsSecurityManager securityManager = createSecurityManager();
  securityManager.setAuthenticator(authenticator());
  securityManager.setAuthorizer(authorizer());
  securityManager.setRealms(realms);
  securityManager.setSessionManager(sessionManager());
  securityManager.setEventBus(eventBus);
  if (cacheManager != null) {
    securityManager.setCacheManager(cacheManager);
  }
  return securityManager;
}
origin: org.apache.shiro/shiro-spring

protected SessionsSecurityManager securityManager(List<Realm> realms) {
  SessionsSecurityManager securityManager = createSecurityManager();
  securityManager.setAuthenticator(authenticator());
  securityManager.setAuthorizer(authorizer());
  securityManager.setRealms(realms);
  securityManager.setSessionManager(sessionManager());
  securityManager.setEventBus(eventBus);
  if (cacheManager != null) {
    securityManager.setCacheManager(cacheManager);
  }
  return securityManager;
}
org.apache.shiro.mgtSessionsSecurityManagersetSessionManager

Javadoc

Sets the underlying delegate SessionManager instance that will be used to support this implementation's SessionManager method calls.

This SecurityManager implementation does not provide logic to support the inherited SessionManager interface, but instead delegates these calls to an internal SessionManager instance.

If a SessionManager instance is not set, a default one will be automatically created and initialized appropriately for the the existing runtime environment.

Popular methods of SessionsSecurityManager

  • getSessionManager
    Returns this security manager's internal delegate SessionManager.
  • afterSessionManagerSet
  • applyCacheManagerToSessionManager
    Ensures the internal delegate SessionManager is injected with the newly set #setCacheManager so it m
  • getCacheManager
  • applyEventBusToSessionManager
    Ensures the internal delegate SessionManager is injected with the newly set #setEventBus so it may u
  • getEventBus
  • setAuthenticator
  • setAuthorizer
  • setCacheManager
  • setEventBus
  • setRealms
  • setRealms

Popular in Java

  • Running tasks concurrently on multiple threads
  • getResourceAsStream (ClassLoader)
  • getApplicationContext (Context)
  • startActivity (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate(i
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Collectors (java.util.stream)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now