Skip to content

Commit

Permalink
Removed substituion causing an error
Browse files Browse the repository at this point in the history
  • Loading branch information
sschu committed Mar 20, 2022
1 parent 2370474 commit 5aaa643
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ private QuarkusSqlFedAuthToken getFedAuthToken(QuarkusSqlFedAuthInfo fedAuthInfo

}

@TargetClass(className = "com.microsoft.sqlserver.jdbc.SQLServerSecurityUtility")
final class QuarkusSQLServerSecurityUtility {

@Substitute
static QuarkusSqlFedAuthToken getMSIAuthToken(String resource, String msiClientId) {
throw new IllegalStateException("Quarkus does not support MSI based authentication");
}

}
//@TargetClass(className = "com.microsoft.sqlserver.jdbc.SQLServerSecurityUtility")
//final class QuarkusSQLServerSecurityUtility {
//
// @Substitute
// static QuarkusSqlFedAuthToken getMSIAuthToken(String resource, String msiClientId) {
// throw new IllegalStateException("Quarkus does not support MSI based authentication");
// }
//
//}

@TargetClass(className = "com.microsoft.sqlserver.jdbc.SQLServerColumnEncryptionAzureKeyVaultProvider")
final class QuarkusSQLServerColumnEncryptionAzureKeyVaultProvider {
Expand Down

0 comments on commit 5aaa643

Please sign in to comment.