Class AuthenticationMethod

java.lang.Object
com.azure.core.util.ExpandableStringEnum<AuthenticationMethod>
com.azure.resourcemanager.cosmos.models.AuthenticationMethod
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class AuthenticationMethod extends com.azure.core.util.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 Details

    • NONE

      public static final AuthenticationMethod NONE
      Static value None for AuthenticationMethod.
    • CASSANDRA

      public static final AuthenticationMethod CASSANDRA
      Static value Cassandra for AuthenticationMethod.
    • LDAP

      public static final AuthenticationMethod LDAP
      Static value Ldap for AuthenticationMethod.
  • Constructor Details

    • AuthenticationMethod

      @Deprecated public AuthenticationMethod()
      Deprecated.
      Use the fromString(String) factory method.
      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:
      name - a name to look for.
      Returns:
      the corresponding AuthenticationMethod.
    • values

      public static Collection<AuthenticationMethod> values()
      Gets known AuthenticationMethod values.
      Returns:
      known AuthenticationMethod values.