Git Product home page Git Product logo

ms-identity-msal-java-samples's Introduction

languages products page_type urlFragment description
java
msal-java
azure
entra
sample
introduction-msal-java
Securing Java apps using the Microsoft Identity platform and MSAL Java

Securing Java apps using the Microsoft Identity platform and MSAL Java

About these samples

Scenarios

The Microsoft Authentication Library (MSAL) enables developers to acquire tokens from the Microsoft identity platform, allowing applications to authenticate users and access secured web APIs. It can be used to provide secure access to Microsoft Graph, other Microsoft APIs, third-party web APIs, or your own web API.

This collection of samples covers a number of scenarios where MSAL Java can be used to secure Java applications, and is meant to build an understanding of MSAL Java and demonstrate how to integrate the library into your applications.

Prerequisites

These are the basic prerequisites for each sample, though each sample may specify more in their own README.

Structure of the repository

This repository contains scenario-specific samples and comprehensive tutorials. We recommend starting with the MSAL Java documentation to get familiar with MSAL Java, and then try out the samples that best fit your use case.

Chapters 1 and 2 are collections of samples covering specific use cases which demonstrate how to integrate MSAL Java into your application, and chapters 3 and 4 are more comprehensive tutorials demonstrating how to create simple and secure web apps from scratch.

Samples and Documentation

This chapter offers samples covering server-side scenarios, in which the app runs on a server and serves multiple users. These samples demonstrate securing web apps and accessing web APIs, and creating secure daemon services that can access resources on behalf of your users.

This chapter offers samples covering client-side scenarios where the app runs on a user's device, such as with desktop or mobile apps.

A tutorial demonstrating how to create a web app using MSAL Java and Java servlets.

A tutorial demonstrating how to create an MVC web app using MSAL Java alongside the Spring framework.

Community Help and Support

Use Stack Overflow to get support from the community. Ask your questions on Stack Overflow first and browse existing issues to see if someone has asked your question before. Tag your questions or comments with msal and java.

If you find a bug in the sample, please open an issue.

Contributing

Thank you for your interest in contributing to Azure samples!

You can contribute to Azure samples in a few different ways:

  • Submit issues through issue tracker on GitHub. We are actively monitoring the issues and improving our samples.
  • If you wish to make code changes to samples or contribute something new, please follow the GitHub forks/pull request model - fork the sample repo, make the change, and propose it back by submitting a pull request.

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.

ms-identity-msal-java-samples's People

Contributors

bgavrilms avatar didunayodeji avatar mtrilbybassett avatar avery-dunn avatar bappadityams avatar localden avatar microsoftopensource avatar kengaderdus avatar vermegi avatar jmprieur avatar microsoft-github-operations[bot] avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.