AuthenticationMethod Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. cosmos. models. AuthenticationMethod
- com.
- com.
public final class AuthenticationMethod
extends ExpandableStringEnum<AuthenticationMethod>
Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Authentication |
CASSANDRA
Static value Cassandra for Authentication |
static final
Authentication |
LDAP
Static value Ldap for Authentication |
static final
Authentication |
NONE
Static value None for Authentication |
Constructor Summary
Constructor | Description |
---|---|
AuthenticationMethod() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Authentication |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Authentication |
fromString(String name)
Creates or finds a Authentication |
static
Collection<Authentication |
values()
Gets known Authentication |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
CASSANDRA
public static final AuthenticationMethod CASSANDRA
Static value Cassandra for AuthenticationMethod.
LDAP
public static final AuthenticationMethod LDAP
Static value Ldap for AuthenticationMethod.
NONE
public static final AuthenticationMethod NONE
Static value None for AuthenticationMethod.
Constructor Details
AuthenticationMethod
@Deprecated
public AuthenticationMethod()
Deprecated
Creates a new instance of AuthenticationMethod value.
Method Details
fromString
public static AuthenticationMethod fromString(String name)
Creates or finds a AuthenticationMethod from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known AuthenticationMethod values.
Returns:
Applies to
Azure SDK for Java