Enum SamlIdPCoreProperties.SessionStorageTypes
- java.lang.Object
-
- java.lang.Enum<SamlIdPCoreProperties.SessionStorageTypes>
-
- org.apereo.cas.configuration.model.support.saml.idp.SamlIdPCoreProperties.SessionStorageTypes
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SamlIdPCoreProperties.SessionStorageTypes>
- Enclosing class:
- SamlIdPCoreProperties
public static enum SamlIdPCoreProperties.SessionStorageTypes extends java.lang.Enum<SamlIdPCoreProperties.SessionStorageTypes>
Define session storage types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BROWSER_SESSION_STORAGE
Saml requests, and other session data collected as part of SAML flows and requests are kept in the client browser's session storage, signed and encrypted.HTTP
Saml requests, and other session data collected as part of SAML flows and requests are kept in the http servlet session that is local to the server.TICKET_REGISTRY
Saml requests, and other session data collected as part of SAML flows and requests are tracked as CAS tickets in the registry and replicated across the entire cluster as tickets.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SamlIdPCoreProperties.SessionStorageTypes
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SamlIdPCoreProperties.SessionStorageTypes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HTTP
public static final SamlIdPCoreProperties.SessionStorageTypes HTTP
Saml requests, and other session data collected as part of SAML flows and requests are kept in the http servlet session that is local to the server.
-
BROWSER_SESSION_STORAGE
public static final SamlIdPCoreProperties.SessionStorageTypes BROWSER_SESSION_STORAGE
Saml requests, and other session data collected as part of SAML flows and requests are kept in the client browser's session storage, signed and encrypted. SAML2 interactions require client-side read/write operations to restore the session from the browser.
-
TICKET_REGISTRY
public static final SamlIdPCoreProperties.SessionStorageTypes TICKET_REGISTRY
Saml requests, and other session data collected as part of SAML flows and requests are tracked as CAS tickets in the registry and replicated across the entire cluster as tickets.
-
-
Method Detail
-
values
public static SamlIdPCoreProperties.SessionStorageTypes[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SamlIdPCoreProperties.SessionStorageTypes c : SamlIdPCoreProperties.SessionStorageTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SamlIdPCoreProperties.SessionStorageTypes valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-