This repository was archived by the owner on Jul 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 125
Exceptions in ADAL4J
Navya Canumalla edited this page May 19, 2018
·
5 revisions
ADAL4J proposes 2 exception classes:
-
AuthenticationExceptionis used directly for exceptions which are local to the library -
AdalClaimsChallengeExceptionis an exception thrown by the service in case a resource requires more claims from the user (for instance 2-factor authentication).
You can read about conditional access here and see the Java web application sample to see how to handle an AdalClaimsChallengeException.