Enum Class ExternalWorkerRestProperties.AuthenticationType
java.lang.Object
java.lang.Enum<ExternalWorkerRestProperties.AuthenticationType>
org.flowable.external.worker.spring.boot.ExternalWorkerRestProperties.AuthenticationType
- All Implemented Interfaces:
Serializable,Comparable<ExternalWorkerRestProperties.AuthenticationType>,Constable
- Enclosing class:
- ExternalWorkerRestProperties
public static enum ExternalWorkerRestProperties.AuthenticationType
extends Enum<ExternalWorkerRestProperties.AuthenticationType>
The type of authentication that should be used when communicating with Flowable.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
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
-
AUTO
It will be determined based on the set properties. If multiple properties are set then an exception is thrown -
NONE
No authentication should be used when communicating with Flowable. -
BASIC
Use HTTP Basic username and password authentication. If this is set then the username and password have to be provided. -
BEARER
Use HTTP Bearer token authentication. If this is set then the access token has to be provided.
-
-
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
-