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

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

Best Java code snippets using org.apache.shiro.mgt.SessionsSecurityManager.getEventBus (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

/**
 * Ensures the internal delegate <code>SessionManager</code> is injected with the newly set
 * {@link #setEventBus EventBus} so it may use it for its internal event needs.
 * <p/>
 * Note: This implementation only injects the EventBus into the SessionManager if the SessionManager
 * instance implements the {@link EventBusAware EventBusAware} interface.
 *
 * @since 1.3
 */
protected void applyEventBusToSessionManager() {
  EventBus eventBus = getEventBus();
  if (eventBus != null && this.sessionManager instanceof EventBusAware) {
    ((EventBusAware)this.sessionManager).setEventBus(eventBus);
  }
}
origin: org.apache.shiro/shiro-core

/**
 * Ensures the internal delegate <code>SessionManager</code> is injected with the newly set
 * {@link #setEventBus EventBus} so it may use it for its internal event needs.
 * <p/>
 * Note: This implementation only injects the EventBus into the SessionManager if the SessionManager
 * instance implements the {@link EventBusAware EventBusAware} interface.
 *
 * @since 1.3
 */
protected void applyEventBusToSessionManager() {
  EventBus eventBus = getEventBus();
  if (eventBus != null && this.sessionManager instanceof EventBusAware) {
    ((EventBusAware)this.sessionManager).setEventBus(eventBus);
  }
}
org.apache.shiro.mgtSessionsSecurityManagergetEventBus

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
  • setAuthenticator
  • setAuthorizer
  • setCacheManager
  • setEventBus
  • setRealms
  • setSessionManager
    Sets the underlying delegate SessionManager instance that will be used to support this implementatio
  • setSessionManager

Popular in Java

  • Reading from database using SQL prepared statement
  • onCreateOptionsMenu (Activity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • 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