public Builder sessionCreationEnabled(boolean enabled) {
            this.subjectContext.setSessionCreationEnabled(enabled);
            return this;
        }
Configures whether or not the created Subject instance can create a new {@code Session} if one does not
already exist.  If set to {@code false}, any application calls to
{@code subject.getSession()} or {@code subject.getSession(true))} will result in a SessionException.
<p/>
This setting is {@code true} by default, as most applications find value in sessions.

@param enabled whether or not the created Subject instance can create a new {@code Session} if one does not
               already exist.
@return this {@code Builder} instance for method chaining.
@since 1.2
core/src/main/java/org/apache/shiro/subject/Subject.java