public class AuthenticateSession extends Session
Used for passthru authentication mechanisms.
Closed, DBGDumpPacket, DBGHexDump, DBGPacketType, DBGSigning, DEFAULT_BUFSIZE, m_pkt, m_treeid, NO_TRANSACTION, SecurityModeShare, SecurityModeUser| Modifier | Constructor and Description |
|---|---|
protected |
AuthenticateSession(PCShare shr,
NetworkSession sess,
int dialect,
SMBPacket pkt)
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
doSessionSetup(java.lang.String userName,
byte[] ascPwd,
byte[] uniPwd,
int vc)
Perform a session setup to create a session on the remote server validating the user.
|
allocatePacket, CloseSession, disableSMBSigning, enableSMBSigning, getCapabilities, getDefaultFlags, getDefaultFlags2, getDeviceType, getDialect, getDialectString, getDomain, getEncryptionKey, getLANManagerType, getMaximumMultiplexedRequests, getMaximumPacketSize, getMaximumVirtualCircuits, getNextMultiplexId, getNextSessionId, getOperatingSystem, getPassword, getPCShare, getProcessId, getSecurityMode, getServer, getSession, getSessionId, getShareName, getSMBSequence, getTreeId, getUserId, getUserName, hasActiveTransaction, hasDataAvailable, hasDebug, hasDebugOption, hasEncryptionKey, hasSMBSigning, isActive, isGuest, isUnicode, pingServer, pingServer, processAsynchResponse, setCapabilities, setDebug, setDefaultFlags, setDefaultFlags2, setDeviceType, setDialect, setDialectString, setDomain, setEncryptionKey, setGuest, setLANManagerType, setMaximumMultiplexedRequests, setMaximumPacketSize, setMaximumVirtualCircuits, setOperatingSystem, setPassword, setProcessId, setSecurityMode, setServer, setSession, setShareName, setSMBSequence, setTransactionMID, setTreeId, setUserId, setUserName, signTxPacket, supportsLargeFiles, supportsLevel2Oplocks, supportsLockAndRead, supportsNTFind, supportsNTSmbs, supportsNTStatusCodes, supportsRawMode, supportsRPCAPIs, supportsUnicode, toString, verifyRxPacketprotected AuthenticateSession(PCShare shr, NetworkSession sess, int dialect, SMBPacket pkt)
shr - PCSharesess - NetworkSessiondialect - intpkt - SMBPacketpublic final void doSessionSetup(java.lang.String userName,
byte[] ascPwd,
byte[] uniPwd,
int vc)
throws java.io.IOException,
SMBException
userName - StringascPwd - ASCII password hashuniPwd - Unicode password hashvc - Virtual circuit numberjava.io.IOExceptionSMBExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.