DefaultSessionStorageEvaluator.isSessionStorageEnabled

Returns {@code true} if any Subject's {@code Session} may be used to persist that {@code Subject}'s state, {@code false} otherwise. The default value is {@code true}. <p/> <b>N.B.</b> This is a global configuration setting; setting this value to {@code false} will disable sessions to persist Subject state for all Subjects that do not already have a Session. It should typically only be set to {@code false} for 100% stateless applications (e.g. when sessions aren't used or when remote clients authenticate on every request).

@return {@code true} if any Subject's {@code Session} may be used to persist that {@code Subject}'s state, {@code false} otherwise.

  1. bool isSessionStorageEnabled(Subject subject)
  2. bool isSessionStorageEnabled()
    class DefaultSessionStorageEvaluator
    bool
    isSessionStorageEnabled
    ()

Meta