adal4j

Azure active directory library for java gives you the ability to add Windows Azure Active Directory authentication to your application with just a few lines of additional code. Using our ADAL SDKs you can quickly and easily extend your existing application to all the employees that use Windows Azure AD and Active Directory on-premises using Active Directory Federation Services, including Office365 customers.

License

License

Apache License, Version 2.0
GroupId

GroupId

com.microsoft.aad
ArtifactId

ArtifactId

adal4j
Last Version

Last Version

0.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

adal4j
Azure active directory library for java gives you the ability to add Windows Azure Active Directory authentication to your application with just a few lines of additional code. Using our ADAL SDKs you can quickly and easily extend your existing application to all the employees that use Windows Azure AD and Active Directory on-premises using Active Directory Federation Services, including Office365 customers.
Project URL

Project URL

http://maven.apache.org
Source Code Management

Source Code Management

https://github.com/MSOpenTech/azure-activedirectory-library-for-java.git

Download adal4j

How to add to project

<!-- https://jarcasting.com/artifacts/com.microsoft.aad/adal4j/ -->
<dependency>
    <groupId>com.microsoft.aad</groupId>
    <artifactId>adal4j</artifactId>
    <version>0.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.microsoft.aad/adal4j/
implementation 'com.microsoft.aad:adal4j:0.0.2'
// https://jarcasting.com/artifacts/com.microsoft.aad/adal4j/
implementation ("com.microsoft.aad:adal4j:0.0.2")
'com.microsoft.aad:adal4j:jar:0.0.2'
<dependency org="com.microsoft.aad" name="adal4j" rev="0.0.2">
  <artifact name="adal4j" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.microsoft.aad', module='adal4j', version='0.0.2')
)
libraryDependencies += "com.microsoft.aad" % "adal4j" % "0.0.2"
[com.microsoft.aad/adal4j "0.0.2"]

Dependencies

compile (3)

Group / Artifact Type Version
com.nimbusds : oauth2-oidc-sdk jar 4.5
com.google.code.gson : gson jar 2.2.4
org.slf4j : slf4j-api jar 1.7.5

provided (1)

Group / Artifact Type Version
javax.servlet : javax.servlet-api jar 3.0.1

test (5)

Group / Artifact Type Version
org.testng : testng jar 6.8.8
org.powermock : powermock-module-testng jar 1.5.6
org.powermock : powermock-api-easymock jar 1.5.6
org.easymock : easymock jar 3.2
net.sourceforge.cobertura : cobertura jar 2.0.3

Project Modules

There are no modules declared in this project.

This library, ADAL for Java, will no longer receive new feature improvements. Instead, use the new MSAL4J.

  • If you are starting a new project, you can get started with the MSAL4J docs for details about the scenarios, usage, and relevant concepts.
  • If your application is using the previous ADAL for Java library, you can follow this migration guide to update to MSAL4J.
  • Existing applications relying on ADAL for Java will continue to work.

Microsoft Azure Active Directory Authentication Library (ADAL) for Java

master branch dev branch Reference Docs
Build Status Build Status Javadocs
Getting Started Docs Samples Support

The ADAL for Java library enables Java applications to authenticate with Azure AD and get tokens to access Azure AD protected web resources.

Update to MSAL4J now!

MSAL4J is the new authentication library to be used with the Microsoft identity platform.

Building on top of ADAL, MSAL works with both the Open ID Connect certified Azure AD V2 endpoint and the new social identity solution from Microsoft, Azure AD B2C.

ADAL4J is in maintenance mode and no new features will be added going forward except for security fixes. All our ongoing efforts will be focused on improving MSAL4J.

Installation and usage

You can find the steps for installation and basic usage documented in the ADAL4J Basics Wiki.

Versions

Current version - 1.6.6

Minimum recommended version - 1.6.6

From version 1.3.0 support for handling Conditional Access claims challenge was added. You can read about CA here and refer this sample to handle it.

You can find the changes for each version in the change log.

Contribution

All code is licensed under the MIT License and we triage actively on GitHub. We encourage and welcome contributions to the library. Please read the contributing guide before starting.

Build and Run

Refer this page for information on building the project and running tests.

Samples and Documentation

Refer these code samples using ADAL4J in some basic scenarios.

We also provide a full suite of sample applications and documentation to help you get started with learning the Azure Identity system. This includes tutorials for native clients such as Windows, Windows Phone, iOS, macOS, Android, and Linux. We also provide full walkthroughs for authentication flows such as OAuth2, OpenID Connect, Graph API, and other awesome features.

Community Help and Support

We leverage Stack Overflow to work with the community on supporting Azure Active Directory and its SDKs, including this one! We highly recommend you ask your questions on Stack Overflow (we're all on there!) Also browser existing issues to see if someone has had your question before.

We recommend you use the "adal" tag so we can see it! Here is the latest Q&A on Stack Overflow for ADAL: http://stackoverflow.com/questions/tagged/adal

Security Reporting

If you find a security issue with our libraries or services please report it to [email protected] with as much detail as possible. Your submission may be eligible for a bounty through the Microsoft Bounty program. Please do not post security issues to GitHub Issues or any other public site. We will contact you shortly upon receiving the information. We encourage you to get notifications of when security incidents occur by visiting this page and subscribing to Security Advisory Alerts.

We Value and Adhere to the Microsoft Open Source Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

com.microsoft.aad

Microsoft Open Technologies, Inc.

Microsoft Open Technologies, Inc. rejoined Microsoft in April 2015

Versions

Version
0.0.2
0.0.1