public static enum Transport.AUTHMODE extends Enum<Transport.AUTHMODE>
| Enum Constant and Description |
|---|
implicit
The transport implementation will perform authentication implicitly
|
reference
The transport implementation will look up authentication credentials using an implementation-specific
reference (e.g.
|
userpass
The implementation will use the username and password from
Transport.TRANSPORT_USERNAME and Transport.TRANSPORT_PASSWORD |
| Modifier and Type | Method and Description |
|---|---|
static Transport.AUTHMODE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Transport.AUTHMODE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transport.AUTHMODE userpass
Transport.TRANSPORT_USERNAME and Transport.TRANSPORT_PASSWORDpublic static final Transport.AUTHMODE implicit
public static final Transport.AUTHMODE reference
Transport.TRANSPORT_SERVERID that can be used to look up authentication credentials)public static Transport.AUTHMODE[] values()
for (Transport.AUTHMODE c : Transport.AUTHMODE.values()) System.out.println(c);
public static Transport.AUTHMODE 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 © 2020. All rights reserved.