protected void applyEventBusToSessionManager() {
        EventBus eventBus = getEventBus();
        if (eventBus != null && this.sessionManager instanceof EventBusAware) {
            ((EventBusAware) this.sessionManager).setEventBus(eventBus);
        }
    }
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
core/src/main/java/org/apache/shiro/mgt/SessionsSecurityManager.java