public final class SmbSession extends Object
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static byte[] |
getChallenge(UniAddress dc) |
static byte[] |
getChallenge(UniAddress dc,
int port) |
static NtlmChallenge |
getChallengeForDomain() |
static void |
logon(UniAddress dc,
int port,
NtlmPasswordAuthentication auth) |
static void |
logon(UniAddress dc,
NtlmPasswordAuthentication auth)
Authenticate arbitrary credentials represented by the
NtlmPasswordAuthentication object against the domain controller
specified by the UniAddress parameter.
|
String |
toString() |
public static NtlmChallenge getChallengeForDomain() throws SmbException, UnknownHostException
public static byte[] getChallenge(UniAddress dc) throws SmbException, UnknownHostException
public static byte[] getChallenge(UniAddress dc, int port) throws SmbException, UnknownHostException
public static void logon(UniAddress dc, NtlmPasswordAuthentication auth) throws SmbException
See also the jcifs.smb.client.logonShare property.
SmbExceptionpublic static void logon(UniAddress dc, int port, NtlmPasswordAuthentication auth) throws SmbException
SmbExceptionCopyright © 2016. All rights reserved.