public class NtlmContext extends Object implements SSPContext
| Constructor and Description |
|---|
NtlmContext(CIFSContext tc,
NtlmPasswordAuthentication auth,
boolean doSigning) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
int |
getFlags() |
String |
getNetbiosName() |
byte[] |
getServerChallenge() |
byte[] |
getSigningKey() |
Oid[] |
getSupportedMechs() |
byte[] |
initSecContext(byte[] token,
int offset,
int len) |
boolean |
isEstablished() |
boolean |
isSupported(Oid mechanism) |
String |
toString() |
public NtlmContext(CIFSContext tc, NtlmPasswordAuthentication auth, boolean doSigning)
tc - context to useauth - credentialsdoSigning - whether signing is requestedpublic Oid[] getSupportedMechs()
getSupportedMechs in interface SSPContextSSPContext.getSupportedMechs()public int getFlags()
getFlags in interface SSPContextSSPContext.getFlags()public boolean isSupported(Oid mechanism)
isSupported in interface SSPContextSSPContext.isSupported(org.ietf.jgss.Oid)public boolean isEstablished()
isEstablished in interface SSPContextpublic byte[] getServerChallenge()
public byte[] getSigningKey()
getSigningKey in interface SSPContextpublic String getNetbiosName()
getNetbiosName in interface SSPContextpublic byte[] initSecContext(byte[] token,
int offset,
int len)
throws SmbException
initSecContext in interface SSPContextSmbExceptionpublic void dispose()
throws SmbException
dispose in interface SSPContextSmbExceptionSSPContext.dispose()Copyright © 2018. All rights reserved.