Enum Class SignInSettingsRules.Setting
- All Implemented Interfaces:
Serializable, Comparable<SignInSettingsRules.Setting>, Constable
- Enclosing class:
SignInSettingsRules
The settings of the page, each with its key in its container, its level, its kind and its range.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe administrators' password policy: the strength check.The administrators' password policy: a digit.The administrators' password policy: a symbol.The administrators' password policy: upper and lower case.The administrators' password policy: the history length.The administrators' password policy: the minimum length.The administrators' password policy: the password cannot be changed.The Android applications.The days after which an unverified e-mail address must be verified: -1 never, 0 at once.The iOS applications.The methods of the second step.The origins.Passkeys on or off for an environment.The link to the privacy statement.The related origins.Require a passkey where available.The relying party ID.The relying party name.The second step for every user: 0 off, 1 optional, 2 required.The second step for the administrators: 0 as every user, 1 required.Whether a user may create an account.Whether a user may stay signed in on a device.The days a device stays signed in from its last use.The strong authentication policy of the server: how many different strong factors one sign-in completes.The strong authentication policy of the server: flexible or strict.The strong authentication policy of the server: the factors that may count.The strong authentication policy of the server: the fewest factors a flexible sign-in may end with.The strong authentication policy of the server: the factors every sign-in must include.The strong authentication policy of the server: whom it binds.The support contact.The link to the terms.The days a device is trusted not to be asked for the second step again.The users' password policy: the strength check.The users' password policy: a digit.The users' password policy: a symbol.The users' password policy: upper and lower case.The users' password policy: the history length.The users' password policy: the minimum length.The users' password policy: the password cannot be changed.Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringThe key: the property name in its container, or the entry's key in the environment's map.final SignInSettingsRules.KindThe kind.The level.final intThe most value of a number or choice, or the most length of a text (0 for none).final intThe least value of a number or choice, or the least length of a text (0 for none).final booleanWhether the value is a secret: its value is never logged (none is, today).Method Summary
Modifier and TypeMethodDescriptionfullKey()Gets the name of the setting as the audit line and a person name it: the server key, the policy container and its key ($admin/minLength), or the environment entry's key.booleanChecks if the setting is a passkey entry of an environment.booleanisStrong()Checks if the setting is a key of the strong authentication policy.Gets the key of a strong setting without its prefixes (count, ...), null for another setting.static SignInSettingsRules.SettingReturns the enum constant of this class with the specified name.static SignInSettingsRules.Setting[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
SECOND_FACTOR
The second step for every user: 0 off, 1 optional, 2 required.SECOND_FACTOR_ADMINISTRATORS
The second step for the administrators: 0 as every user, 1 required.METHODS
The methods of the second step.TRUST_DEVICE_DAYS
The days a device is trusted not to be asked for the second step again.STAY_SIGNED_IN
Whether a user may stay signed in on a device.STAY_SIGNED_IN_DAYS
The days a device stays signed in from its last use.SELF_SIGN_UP
Whether a user may create an account.EMAIL_VERIFICATION_DAYS
The days after which an unverified e-mail address must be verified: -1 never, 0 at once.PRIVACY_URL
The link to the privacy statement.TERMS_URL
The link to the terms.SUPPORT
The support contact.STRONG_COUNT
The strong authentication policy of the server: how many different strong factors one sign-in completes.STRONG_FACTORS
The strong authentication policy of the server: the factors that may count.STRONG_MANDATORY
The strong authentication policy of the server: the factors every sign-in must include.STRONG_DEVICE
The strong authentication policy of the server: flexible or strict.STRONG_FLOOR
The strong authentication policy of the server: the fewest factors a flexible sign-in may end with.STRONG_WHO
The strong authentication policy of the server: whom it binds.ADMIN_MIN_LENGTH
The administrators' password policy: the minimum length.ADMIN_HAS_DIGIT
The administrators' password policy: a digit.ADMIN_HAS_SYMBOL
The administrators' password policy: a symbol.ADMIN_HAS_UPPER_LOWER
The administrators' password policy: upper and lower case.ADMIN_ADVANCED
The administrators' password policy: the strength check.ADMIN_HISTORY
The administrators' password policy: the history length.ADMIN_NO_CHANGES
The administrators' password policy: the password cannot be changed.USER_MIN_LENGTH
The users' password policy: the minimum length.USER_HAS_DIGIT
The users' password policy: a digit.USER_HAS_SYMBOL
The users' password policy: a symbol.USER_HAS_UPPER_LOWER
The users' password policy: upper and lower case.USER_ADVANCED
The users' password policy: the strength check.USER_HISTORY
The users' password policy: the history length.USER_NO_CHANGES
The users' password policy: the password cannot be changed.PASSKEYS
Passkeys on or off for an environment.RP_ID
The relying party ID.RP_NAME
The relying party name.ORIGINS
The origins.RELATED_ORIGINS
The related origins.REQUIRE_PASSKEY
Require a passkey where available.IOS_APPS
The iOS applications.ANDROID_APPS
The Android applications.
Field Details
level
The level.key
The key: the property name in its container, or the entry's key in the environment's map.kind
The kind.min
public final int minThe least value of a number or choice, or the least length of a text (0 for none).max
public final int maxThe most value of a number or choice, or the most length of a text (0 for none).secret
public final boolean secretWhether the value is a secret: its value is never logged (none is, today).
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
fullKey
Gets the name of the setting as the audit line and a person name it: the server key, the policy container and its key ($admin/minLength), or the environment entry's key.- Returns:
- The full name.
isPasskey
public boolean isPasskey()Checks if the setting is a passkey entry of an environment.isStrong
public boolean isStrong()Checks if the setting is a key of the strong authentication policy.strongKey
Gets the key of a strong setting without its prefixes (count, ...), null for another setting.