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.
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.