Enum Class SessionStorageTypes

java.lang.Object
java.lang.Enum<SessionStorageTypes>
org.apereo.cas.configuration.model.core.web.session.SessionStorageTypes
All Implemented Interfaces:
Serializable, Comparable<SessionStorageTypes>, Constable

public enum SessionStorageTypes extends Enum<SessionStorageTypes>
Since:
7.0.0
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Authentication requests, and other session data collected as part of authentication protocol flows and requests are kept in the client browser's session storage, signed and encrypted.
    Authentication requests, and other session data collected as part of authentication protocol flows and requests are kept in the http servlet session that is local to the server.
    Authentication requests, and other session data collected as part of authentication protocol flows and requests are tracked as CAS tickets in the registry and replicated across the entire cluster as tickets.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Enum

    compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • HTTP

      public static final SessionStorageTypes HTTP
      Authentication requests, and other session data collected as part of authentication protocol flows and requests are kept in the http servlet session that is local to the server.
    • BROWSER_STORAGE

      public static final SessionStorageTypes BROWSER_STORAGE
      Authentication requests, and other session data collected as part of authentication protocol flows and requests are kept in the client browser's session storage, signed and encrypted. All interactions require client-side read/write operations to restore the session from the browser.
    • TICKET_REGISTRY

      public static final SessionStorageTypes TICKET_REGISTRY
      Authentication requests, and other session data collected as part of authentication protocol flows and requests are tracked as CAS tickets in the registry and replicated across the entire cluster as tickets. This state is tied to the user's agent/browser using a special cookie that would be used to locate and restore that state. The cookie content may be signed and encrypted.
  • Method Details

    • values

      public static SessionStorageTypes[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SessionStorageTypes valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null