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
This is
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 ConstantDescriptionAuthentication 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 TypeMethodDescriptionstatic SessionStorageTypes
Returns the enum constant of this class with the specified name.static SessionStorageTypes[]
values()
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
-
Enum Constant Details
-
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
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
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
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
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 nameNullPointerException
- if the argument is null
-