nadment opened a new issue, #5367:
URL: https://github.com/apache/hop/issues/5367

   ### What would you like to happen?
   
   Please add the below dependency to plugins/tech/azure:
   
   <dependency>
     <groupId>com.microsoft.azure</groupId>
     <artifactId>msal4j</artifactId>
     <version>1.20.1</version>
   </dependency> 
   
   The Microsoft Authentication Library for Java gives you the ability to 
obtain tokens from Azure AD v2.
   
   
   If you try to connect to a Azure SQL Server with 
authentication=ActiveDirectoryPassword
   the JDBC driver is not able to load the required MSAL4J Java library.  
   
   java.lang.NoSuchMethodError: 
'com.microsoft.aad.msal4j.AbstractApplicationBase$Builder 
com.microsoft.aad.msal4j.PublicClientApplication$Builder.executorService(java.util.concurrent.ExecutorService)'
           at 
com.microsoft.sqlserver.jdbc.SQLServerMSAL4JUtils.getSqlFedAuthToken(SQLServerMSAL4JUtils.java:112)
           at 
com.microsoft.sqlserver.jdbc.SQLServerConnection.getFedAuthToken(SQLServerConnection.java:6028)
           at 
com.microsoft.sqlserver.jdbc.SQLServerConnection.onFedAuthInfo(SQLServerConnection.java:5995)
           at 
com.microsoft.sqlserver.jdbc.SQLServerConnection.processFedAuthInfo(SQLServerConnection.java:5829)
           at 
com.microsoft.sqlserver.jdbc.TDSTokenHandler.onFedAuthInfo(tdsparser.java:335)
           at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:130)
           at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:42)
           at 
com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:6888)
           at 
com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:5434)
           at 
com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:5366)
           at 
org.apache.hop.ui.core.database.DatabaseMetaEditor.test(DatabaseMetaEditor.java:766)
   
   
   ### Issue Priority
   
   Priority: 3
   
   ### Issue Component
   
   Component: Database


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to