|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jcifs.ntlmssp.NtlmMessage jcifs.ntlmssp.Type1Message
Represents an NTLMSSP Type-1 message.
Field Summary |
Fields inherited from class jcifs.ntlmssp.NtlmMessage |
NTLMSSP_SIGNATURE |
Constructor Summary | |
Type1Message()
Creates a Type-1 message using default values from the current environment. |
|
Type1Message(byte[] material)
Creates a Type-1 message using the given raw Type-1 material. |
|
Type1Message(int flags,
java.lang.String suppliedDomain,
java.lang.String suppliedWorkstation)
Creates a Type-1 message with the specified parameters. |
Method Summary | |
static java.lang.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 java.lang.String |
getDefaultWorkstation()
Returns the default workstation from the current environment. |
java.lang.String |
getSuppliedDomain()
Returns the supplied authentication domain. |
java.lang.String |
getSuppliedWorkstation()
Returns the supplied workstation name. |
void |
setSuppliedDomain(java.lang.String suppliedDomain)
Sets the supplied authentication domain for this message. |
void |
setSuppliedWorkstation(java.lang.String suppliedWorkstation)
Sets the supplied workstation name for this message. |
byte[] |
toByteArray()
Returns the raw byte representation of this message. |
java.lang.String |
toString()
|
Methods inherited from class jcifs.ntlmssp.NtlmMessage |
getFlag, getFlags, setFlag, setFlags |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Type1Message()
public Type1Message(int flags, java.lang.String suppliedDomain, java.lang.String suppliedWorkstation)
flags
- The flags to apply to this message.suppliedDomain
- The supplied authentication domain.suppliedWorkstation
- The supplied workstation name.public Type1Message(byte[] material) throws java.io.IOException
material
- The raw Type-1 material used to construct this message.
java.io.IOException
- If an error occurs while parsing the material.Method Detail |
public java.lang.String getSuppliedDomain()
String
containing the supplied domain.public void setSuppliedDomain(java.lang.String suppliedDomain)
suppliedDomain
- The supplied domain for this message.public java.lang.String getSuppliedWorkstation()
String
containing the supplied workstation name.public void setSuppliedWorkstation(java.lang.String suppliedWorkstation)
suppliedWorkstation
- The supplied workstation for this message.public byte[] toByteArray()
NtlmMessage
toByteArray
in class NtlmMessage
byte[]
containing the raw message material.public java.lang.String toString()
public static int getDefaultFlags()
int
containing the default flags.public static java.lang.String getDefaultDomain()
String
containing the default domain.public static java.lang.String getDefaultWorkstation()
String
containing the default workstation.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |