From 9019a29e65a56ff80c5b5b060e1a88a5dae1eceb Mon Sep 17 00:00:00 2001 From: siddhijain Date: Thu, 8 Dec 2022 11:22:15 -0600 Subject: [PATCH] add deprecation message --- .../java/com/microsoft/aad/adal4j/AuthenticationContext.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/com/microsoft/aad/adal4j/AuthenticationContext.java b/src/main/java/com/microsoft/aad/adal4j/AuthenticationContext.java index 3541b22a..a5743b15 100644 --- a/src/main/java/com/microsoft/aad/adal4j/AuthenticationContext.java +++ b/src/main/java/com/microsoft/aad/adal4j/AuthenticationContext.java @@ -54,10 +54,15 @@ import org.slf4j.LoggerFactory; /** + * + * @deprecated ADAL is deprecated. Please use MSAL instead. To migrate, follow the instructions here + * https://aka.ms/migrate-adal-to-msal-java + * * The main class representing the authority issuing tokens for resources. It * provides several ways to request access token, namely via Authorization Code, * Confidential Client and Client Certificate. */ +@Deprecated public class AuthenticationContext { final Logger log = LoggerFactory