|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.jtds.util.SSPIJNIClient
public class SSPIJNIClient
COPIED FROM jtds PROJECT FOR SSO CAPABILITIES. A JNI client to SSPI based CPP program (DLL) that returns the user credentials for NTLM authentication.
The DLL name is ntlmauth.dll.
Method Summary | |
---|---|
static SSPIJNIClient |
getInstance()
Returns the singleton SSPIJNIClient instance. |
void |
invokeInitialize()
Calls #initialize() if the SSPI client is not already inited. |
byte[] |
invokePrepareSSORequest()
Calls #prepareSSORequest() to prepare the NTLM TYPE-1 message. |
byte[] |
invokePrepareSSOSubmit(byte[] buf)
Calls #prepareSSOSubmit(byte[], long) to prepare the NTLM TYPE-3
message. |
void |
invokeUnInitialize()
Calls #unInitialize() if the SSPI client is inited. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static SSPIJNIClient getInstance()
SSPIJNIClient
instance.
java.sql.SQLException
- if an error occurs during initializationpublic void invokeInitialize()
#initialize()
if the SSPI client is not already inited.
public void invokeUnInitialize()
#unInitialize()
if the SSPI client is inited.
public byte[] invokePrepareSSORequest()
#prepareSSORequest()
to prepare the NTLM TYPE-1 message.
java.lang.Exception
- if an error occurs during the call or the SSPI client
is uninitializedpublic byte[] invokePrepareSSOSubmit(byte[] buf)
#prepareSSOSubmit(byte[], long)
to prepare the NTLM TYPE-3
message.
java.lang.Exception
- if an error occurs during the call or the SSPI client
is uninitialized
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |