| java.lang.Object jcifs.ntlmssp.NtlmMessage jcifs.ntlmssp.Type1Message
Type1Message | public class Type1Message extends NtlmMessage (Code) | | Represents an NTLMSSP Type-1 message.
|
Constructor Summary | |
public | Type1Message() Creates a Type-1 message using default values from the current
environment. | public | Type1Message(int flags, String suppliedDomain, String suppliedWorkstation) Creates a Type-1 message with the specified parameters. | public | Type1Message(byte[] material) Creates a Type-1 message using the given raw Type-1 material. |
Type1Message | public Type1Message()(Code) | | Creates a Type-1 message using default values from the current
environment.
|
Type1Message | public Type1Message(int flags, String suppliedDomain, String suppliedWorkstation)(Code) | | Creates a Type-1 message with the specified parameters.
Parameters: flags - The flags to apply to this message. Parameters: suppliedDomain - The supplied authentication domain. Parameters: suppliedWorkstation - The supplied workstation name. |
Type1Message | public Type1Message(byte[] material) throws IOException(Code) | | Creates a Type-1 message using the given raw Type-1 material.
Parameters: material - The raw Type-1 material used to construct this message. throws: IOException - If an error occurs while parsing the material. |
getDefaultDomain | public static String getDefaultDomain()(Code) | | Returns the default domain from the current environment.
A String containing the default domain. |
getDefaultFlags | public static int getDefaultFlags()(Code) | | Returns the default flags for a generic Type-1 message in the
current environment.
An int containing the default flags. |
getDefaultWorkstation | public static String getDefaultWorkstation()(Code) | | Returns the default workstation from the current environment.
A String containing the default workstation. |
getSuppliedDomain | public String getSuppliedDomain()(Code) | | Returns the supplied authentication domain.
A String containing the supplied domain. |
getSuppliedWorkstation | public String getSuppliedWorkstation()(Code) | | Returns the supplied workstation name.
A String containing the supplied workstation name. |
setSuppliedDomain | public void setSuppliedDomain(String suppliedDomain)(Code) | | Sets the supplied authentication domain for this message.
Parameters: suppliedDomain - The supplied domain for this message. |
setSuppliedWorkstation | public void setSuppliedWorkstation(String suppliedWorkstation)(Code) | | Sets the supplied workstation name for this message.
Parameters: suppliedWorkstation - The supplied workstation for this message. |
toByteArray | public byte[] toByteArray()(Code) | | |
Fields inherited from jcifs.ntlmssp.NtlmMessage | final protected static byte[] NTLMSSP_SIGNATURE(Code)(Java Doc)
|
Methods inherited from jcifs.ntlmssp.NtlmMessage | public boolean getFlag(int flag)(Code)(Java Doc) public int getFlags()(Code)(Java Doc) static String getOEMEncoding()(Code)(Java Doc) static byte[] readSecurityBuffer(byte[] src, int index)(Code)(Java Doc) static int readULong(byte[] src, int index)(Code)(Java Doc) static int readUShort(byte[] src, int index)(Code)(Java Doc) public void setFlag(int flag, boolean value)(Code)(Java Doc) public void setFlags(int flags)(Code)(Java Doc) abstract public byte[] toByteArray()(Code)(Java Doc) static void writeSecurityBuffer(byte[] dest, int offset, int bodyOffset, byte[] src)(Code)(Java Doc) static void writeULong(byte[] dest, int offset, int ulong)(Code)(Java Doc) static void writeUShort(byte[] dest, int offset, int ushort)(Code)(Java Doc)
|
|
|