SubjectContext.isSessionCreationEnabled

Returns {@code true} if the constructed {@code Subject} should be allowed to create a session, {@code false} otherwise. Shiro's configuration defaults to {@code true} as most applications find value in Sessions.

@return {@code true} if the constructed {@code Subject} should be allowed to create sessions, {@code false} otherwise.

interface SubjectContext
bool
isSessionCreationEnabled
()

Meta