Enum Class TransportBuilder.SaslAuthMode
java.lang.Object
java.lang.Enum<TransportBuilder.SaslAuthMode>
org.freedesktop.dbus.connections.transports.TransportBuilder.SaslAuthMode
- All Implemented Interfaces:
Serializable, Comparable<TransportBuilder.SaslAuthMode>, Constable
- Enclosing class:
TransportBuilder
Represents supported SASL authentication modes.
- Since:
- v4.0.0 - 2021-09-17
- Author:
- hypfvieh
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNo authentication (allow everyone).Authentication using SHA Cookie.External authentication (e.g. by user ID). -
Method Summary
Modifier and TypeMethodDescriptionintReturns the enum constant of this class with the specified name.static TransportBuilder.SaslAuthMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTH_ANONYMOUS
No authentication (allow everyone). -
AUTH_COOKIE
Authentication using SHA Cookie. -
AUTH_EXTERNAL
External authentication (e.g. by user ID).
-
-
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
-
getAuthMode
public int getAuthMode()
-