jcifs.ntlmssp
public class Type1Message extends NtlmMessage
Constructor Summary | |
---|---|
Type1Message()
Creates a Type-1 message using default values from the current
environment. | |
Type1Message(int flags, String suppliedDomain, String suppliedWorkstation)
Creates a Type-1 message with the specified parameters.
| |
Type1Message(byte[] material)
Creates a Type-1 message using the given raw Type-1 material.
|
Method Summary | |
---|---|
static String | getDefaultDomain()
Returns the default domain from the current environment.
|
static int | getDefaultFlags()
Returns the default flags for a generic Type-1 message in the
current environment.
|
static String | getDefaultWorkstation()
Returns the default workstation from the current environment.
|
String | getSuppliedDomain()
Returns the supplied authentication domain.
|
String | getSuppliedWorkstation()
Returns the supplied workstation name.
|
void | setSuppliedDomain(String suppliedDomain)
Sets the supplied authentication domain for this message.
|
void | setSuppliedWorkstation(String suppliedWorkstation)
Sets the supplied workstation name for this message.
|
byte[] | toByteArray() |
String | toString() |
Parameters: flags The flags to apply to this message. suppliedDomain The supplied authentication domain. suppliedWorkstation The supplied workstation name.
Parameters: material The raw Type-1 material used to construct this message.
Throws: IOException If an error occurs while parsing the material.
Returns: A String
containing the default domain.
Returns: An int
containing the default flags.
Returns: A String
containing the default workstation.
Returns: A String
containing the supplied domain.
Returns: A String
containing the supplied workstation name.
Parameters: suppliedDomain The supplied domain for this message.
Parameters: suppliedWorkstation The supplied workstation for this message.