Enum Class InMemoryAcceptableUsagePolicyProperties.Scope
java.lang.Object
java.lang.Enum<InMemoryAcceptableUsagePolicyProperties.Scope>
org.apereo.cas.configuration.model.support.aup.InMemoryAcceptableUsagePolicyProperties.Scope
- All Implemented Interfaces:
Serializable
,Comparable<InMemoryAcceptableUsagePolicyProperties.Scope>
,Constable
- Enclosing class:
- InMemoryAcceptableUsagePolicyProperties
public static enum InMemoryAcceptableUsagePolicyProperties.Scope
extends Enum<InMemoryAcceptableUsagePolicyProperties.Scope>
Scope options for the default aup repository can store flag indicating acceptance.
Scope refers to duration that acceptance is kept.
Current options are global on the particular server (not replicated across CAS servers)
and once per authentication via credentials (not authentication events via TGT).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionStore aup acceptance such that user is prompted when they authenticate via credentials.Store in global in-memory map (for life of server). -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GLOBAL
Store in global in-memory map (for life of server). -
AUTHENTICATION
Store aup acceptance such that user is prompted when they authenticate via credentials.
-
-
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
-