Welcome! Please see the About page for a little more info on how this works.
repro.clj:
(defn create-application [] (let [credential (com.microsoft.aad.msal4j.ClientCredentialFactory/createFromSecret "sekrit") builder (com.microsoft.aad.msal4j.ConfidentialClientApplication/builder "client id" credential) authority "some authority"] (-> builder (.authority ^String authority) (.build)))) (create-application)
Run with:
clj -Sdeps '{:deps {com.microsoft.azure/msal4j {:mvn/version "1.8.1"}}}' repro.clj
The source code for the concrete class is at https://github.com/AzureAD/microsoft-authentication-library-for-java/blob/dev/src/main/java/com/microsoft/aad/msal4j/ConfidentialClientApplication.java
And the base class is at https://github.com/AzureAD/microsoft-authentication-library-for-java/blob/dev/src/main/java/com/microsoft/aad/msal4j/AbstractClientApplicationBase.java where the authority field is declared with a Lombok Accessor annotation...