public enum AuthMech extends Enum<AuthMech>
| Enum Constant and Description |
|---|
ALLOW
Indicates that the mechanism type is using non-SSL first and then SSL if non-SSL fails.
|
DISABLE
Indicates the mechanism type is non-SSL.
|
PREFER
Indicates that the mechanism type is using SSL first and then non-SSL if SSL fails.
|
REQUIRE
Indicates the mechanism type is using SSL.
|
VERIFY_CA
Indicates the mechanism type is using SSL and verify the trusted certificate authority.
|
VERIFY_FULL
Indicates the mechanism type is using SSL and verify the trusted certificate authority and
the server hostname
|
| Modifier and Type | Method and Description |
|---|---|
static AuthMech |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthMech[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthMech DISABLE
public static final AuthMech ALLOW
public static final AuthMech PREFER
public static final AuthMech REQUIRE
public static final AuthMech VERIFY_CA
public static final AuthMech VERIFY_FULL
public static AuthMech[] values()
for (AuthMech c : AuthMech.values()) System.out.println(c);
public static AuthMech valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2024 Amazon.com Inc.. All rights reserved.