Enum Class ConnectionUser
- All Implemented Interfaces:
Serializable
,Comparable<ConnectionUser>
,Constable
Valid users to establish a connection to at least one Vault.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAuthorized user defined in the connection record.Indicates the user that initiated the request.Indicates the owner of the sdk request.Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic ConnectionUser
Returns the enum constant of this class with the specified name.static ConnectionUser[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
REQUEST_OWNER
Indicates the owner of the sdk request. This is usually the same as the INITIATING_USER, but it can be different in some cases like workflow. The user id associated with this type can change during a request. -
INITIATING_USER
Indicates the user that initiated the request. This can be a Vault User (user at keyboard) or the System. The user id associated with this type will never change during a request. -
SDK_CURRENT_USER
Deprecated.as of 22R3.4, replaced byREQUEST_OWNER
andINITIATING_USER
.Current user used in Vault Java SDK code. -
CONNECTION_AUTHORIZED_USER
Authorized user defined in the connection record.
-
-
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
-
REQUEST_OWNER
andINITIATING_USER
.