Enum Class SecretsStorePurpose
java.lang.Object
java.lang.Enum<SecretsStorePurpose>
org.odpi.openmetadata.frameworks.connectors.controls.SecretsStorePurpose
- All Implemented Interfaces:
Serializable
,Comparable<SecretsStorePurpose>
,Constable
SecretsStorePurpose defines the purpose of a secrets connector. These values are set into the "displayName"
property of the EmbeddedConnection entity (model 0205).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA password used to prove a user's identity - in clear text.The secrets connector can supply a bearer token to send in the authorization header of a REST API call.A collection of user details including secrets used to prove the user's identity. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the description of the configuration property.getName()
Return the name of the request parameter.toString()
Output of this enum class and main value.static SecretsStorePurpose
Returns the enum constant of this class with the specified name.static SecretsStorePurpose[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
REST_BEARER_TOKEN
The secrets connector can supply a bearer token to send in the authorization header of a REST API call. -
REST_BASIC_AUTHENTICATION
A password used to prove a user's identity - in clear text. -
USER_DIRECTORY
A collection of user details including secrets used to prove the user's identity.
-
-
Field Details
-
name
-
description
-
-
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
-
getName
Return the name of the request parameter.- Returns:
- string name
-
getDescription
Return the description of the configuration property.- Returns:
- text
-
toString
Output of this enum class and main value.- Overrides:
toString
in classEnum<SecretsStorePurpose>
- Returns:
- string showing enum value
-