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 SSPContext
SSPContext.getSupportedMechs()
public int getFlags()
getFlags
in interface SSPContext
SSPContext.getFlags()
public boolean isSupported(Oid mechanism)
isSupported
in interface SSPContext
SSPContext.isSupported(org.ietf.jgss.Oid)
public boolean isEstablished()
isEstablished
in interface SSPContext
public byte[] getServerChallenge()
public byte[] getSigningKey()
getSigningKey
in interface SSPContext
public String getNetbiosName()
getNetbiosName
in interface SSPContext
public byte[] initSecContext(byte[] token, int offset, int len) throws SmbException
initSecContext
in interface SSPContext
SmbException
public void dispose() throws SmbException
dispose
in interface SSPContext
SmbException
SSPContext.dispose()
Copyright © 2017. All rights reserved.