public SessionFactory getSessionFactory() {
        return sessionFactory;
    }
Returns the {@code SessionFactory} used to generate new {@link Session} instances.  The default instance
is a {@link SimpleSessionFactory}.

@return the {@code SessionFactory} used to generate new {@link Session} instances.
@since 1.0
core/src/main/java/org/apache/shiro/session/mgt/DefaultSessionManager.java