Skip to content

Commit

Permalink
Update index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
localden committed Jul 5, 2023
1 parent 5c5d992 commit 768865b
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions msal-java-articles/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,31 @@ description: "The Microsoft Authentication Library for Java (usually shortened t

# Microsoft Authentication Library for Java

The Microsoft Authentication Library for Java (usually shortened to MSAL Java or MSAL4J) enables applications to integrate with the [Microsoft identity platform](/azure/active-directory/develop/v2-overview). It allows you to sign in users or apps with Microsoft identities (Azure AD, Microsoft accounts and Azure AD B2C accounts) and obtain tokens to call Microsoft APIs such as [Microsoft Graph](https://graph.microsoft.io/) or your own APIs registered with the Microsoft identity platform. It is built using industry standard OAuth2 and OpenID Connect protocols.
The Microsoft Authentication Library for Java (usually shortened to MSAL Java or MSAL4J) enables applications to integrate with the [Microsoft identity platform](/azure/active-directory/develop/v2-overview). It allows you to sign in users or apps with Microsoft identities (Azure AD, Microsoft accounts, and Azure AD B2C accounts) and obtain tokens to call Microsoft APIs such as [Microsoft Graph](https://graph.microsoft.io/) or your own APIs. It is built using industry standard OAuth2 and OpenID Connect protocols.

## Overview

1. [Why use MSAL4J?](getting-started/why-use-msal4j.md)

1. **Pre-requisite**: Before using MSAL4J you will have to [register your applications with Azure AD](/azure/active-directory/develop/active-directory-integrating-applications).

1. To start using MSAL4J, instantiate and configure the [client application](getting-started/client-applications.md).

1. Learn about the ways to [acquire a token](getting-started/acquiring-tokens.md) using MSAL4J.

1. Follow [best practices for a robust enterprise ready application](advanced/best-practices-enterprise.md).

1. Refer [FAQ](getting-started/faq.md) for common issues and known bugs.

## MSAL Java scenarios

MSAL4J can be used by applications to acquire tokens to access a protected API. Tokens can be acquired by different **application types**: Desktop applications, Web applications, Web APIs, and applications running on devices that don't have a browser (such as IoT). In MSAL4J, applications are categorized as follows:
MSAL4J can be used by applications to acquire tokens to access protected APIs. Tokens can be acquired by different **application types**: desktop applications, web applications, web APIs, and applications running on devices that don't have a browser (such as IoT devices). In MSAL4J, applications are categorized as follows:

- **Public client applications (desktop and mobile)**. These types of apps cannot store app secrets securely.
- **Confidential client applications (web apps, web APIs, and daemon applications)**. These type of apps securely store a secret registered with Azure AD.

- Public client applications (desktop and mobile) - These types of apps cannot store app secrets securely.
- Confidential client applications (Web apps, Web APIs, and daemon applications). These type of apps securely store a secret registered with Azure AD.
Learn more details about instantiating and configuring the above in the [Client applications](./getting-started/client-applications.md) topic.

Learn more details about instantiating and configuring the above in [Client applications](./getting-started/client-applications.md) topic.
MSAL4J supports acquiring tokens either in the name of a user, or, in the name of the application itself (without a user). In the latter case, a confidential client application must be used.
MSAL4J supports acquiring tokens either in the name of a user or in the name of the application itself (without a user). In the latter case, a confidential client application must be used.

MSAL4J can be used in applications running on different operating systems (Windows, Linux, Mac). Scenarios might differ depending on the platform.
MSAL4J can be used in applications running on different operating systems (Windows, Linux, macOS).

Here are the key scenarios supported by MSAL4J. You can read the detailed explanations with MSAL4J code usage by following the links.
Key scenarios supported by MSAL4J:

- [Web application that signs in users](/azure/active-directory/develop/scenario-web-app-sign-user-overview)
- [Web Application signing in a user and calling a Web API in the name of the user](/azure/active-directory/develop/scenario-web-app-call-api-overview)
Expand Down

0 comments on commit 768865b

Please sign in to comment.