remove JNI method for ActiveDirectoryPassword Authentication, since we no longer use DLL for ActiveDirectoryPassword authentication
@@ -87,18 +87,6 @@ final class AuthenticationJNI extends SSPIAuthentication {
return dllInfo;
}
- static FedAuthDllInfo getAccessToken(String userName,
- String password,
- String stsURL,
- String servicePrincipalName,
- String clientConnectionId,
- String clientId,
- long expirationFileTime) throws DLLException {
- FedAuthDllInfo dllInfo = ADALGetAccessToken(userName, password, stsURL, servicePrincipalName, clientConnectionId, clientId,
- expirationFileTime, authLogger);
- return dllInfo;
- }
-
// InitDNSName should be called to initialize the DNSName before calling this function
byte[] GenerateClientContext(byte[] pin,
boolean[] done) throws SQLServerException {
@@ -184,15 +172,6 @@ final class AuthenticationJNI extends SSPIAuthentication {
long expirationFileTime,
java.util.logging.Logger log);
- private native static FedAuthDllInfo ADALGetAccessToken(String userName,
- String password,
- String stsURL,
- String servicePrincipalName,
- String clientConnectionId,
- String clientId,
- long expirationFileTime,
- java.util.logging.Logger log);
-
native static byte[] DecryptColumnEncryptionKey(String masterKeyPath,
String encryptionAlgorithm,
byte[] encryptedColumnEncryptionKey) throws DLLException;
