Enum InMemoryAcceptableUsagePolicyProperties.Scope
- java.lang.Object
-
- java.lang.Enum<InMemoryAcceptableUsagePolicyProperties.Scope>
-
- org.apereo.cas.configuration.model.support.aup.InMemoryAcceptableUsagePolicyProperties.Scope
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<InMemoryAcceptableUsagePolicyProperties.Scope>
- Enclosing class:
- InMemoryAcceptableUsagePolicyProperties
public static enum InMemoryAcceptableUsagePolicyProperties.Scope extends java.lang.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).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTHENTICATION
Store aup acceptance such that user is prompted when they authenticate via credentials.GLOBAL
Store in global in-memory map (for life of server).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InMemoryAcceptableUsagePolicyProperties.Scope
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static InMemoryAcceptableUsagePolicyProperties.Scope[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GLOBAL
public static final InMemoryAcceptableUsagePolicyProperties.Scope GLOBAL
Store in global in-memory map (for life of server).
-
AUTHENTICATION
public static final InMemoryAcceptableUsagePolicyProperties.Scope AUTHENTICATION
Store aup acceptance such that user is prompted when they authenticate via credentials.
-
-
Method Detail
-
values
public static InMemoryAcceptableUsagePolicyProperties.Scope[] 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 (InMemoryAcceptableUsagePolicyProperties.Scope c : InMemoryAcceptableUsagePolicyProperties.Scope.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InMemoryAcceptableUsagePolicyProperties.Scope 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
-
-