public enum ConnectionProtocol extends Enum<ConnectionProtocol>
The NTLM protocols are all obsolete and easily crackable by today's standards. Best to use them only local account credentials rather than those for a domain-wide account.
| Enum Constant and Description |
|---|
NTLMV1_AUTHENTICATION
The really, really old NTLM v1 used for authentication only.
|
NTLMV2_AUTHENTICATION
The slightly less old NTLM v2 used for authentication only.
|
NTLMV2_SESSION_SECURITY
NTLM v2 authentication combined with encrypted & verified session packets.
|
| Modifier and Type | Method and Description |
|---|---|
static ConnectionProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionProtocol NTLMV1_AUTHENTICATION
public static final ConnectionProtocol NTLMV2_AUTHENTICATION
public static final ConnectionProtocol NTLMV2_SESSION_SECURITY
public static ConnectionProtocol[] values()
for (ConnectionProtocol c : ConnectionProtocol.values()) System.out.println(c);
public static ConnectionProtocol 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 © 2017 LSST. All rights reserved.