Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Logging

Santiago Gonzalez edited this page Apr 9, 2018 · 2 revisions

ADAL for Java uses the Simple Logging Facade for Java (SLF4J) as a simple facade or abstraction for various logging frameworks.

Personal Identifiable Information (PII) & Organizational Identifiable Information (OII)

By default, ADAL logging does not capture or log any PII or OII. The library allows app developers to turn this on by configuring the logPii property on the AuthenticationContext. By turning on PII or OII, the app takes responsibility for safely handling highly-sensitive data and complying with any regulatory requirements.

PII or OII logging disabled. Default Logger does not capture any PII or OII

AuthenticationContext context = new AuthenticationContext(...);

PII or OII logging enabled

context.setLogPii(true);