public class SSPIJNIClient extends Object
| Modifier and Type | Method and Description |
|---|---|
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. |
public static SSPIJNIClient getInstance()
SSPIJNIClient instance.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.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.Exception - if an error occurs during the call or the SSPI client
is uninitializedCopyright © 2017 LSST. All rights reserved.