public void setSessionFactory(SessionFactory sessionFactory) {
        this.sessionFactory = sessionFactory;
    }
Sets the {@code SessionFactory} used to generate new {@link Session} instances.  The default instance
is a {@link SimpleSessionFactory}.

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