Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ADFS and SAML 2.0 using OpenSAML in Java

I am going to implement Single Sign On using ADFS and SAML 2.0. I have done alot of search on where to start the process. I am provided with the URL of the ADFS service. Do I need to hit that url with GET/POST request having an SAML 2.0 Assertion as a request parameter? Actually I wanted to ask that what will be the exact flow for this and what exactly the SAML request be like? And how I will initiate the request with ADFS?

I am going to develop the SP (Service Provider) in Java by using OpenSAML library.

like image 474
Muhammad Salman Farooq Avatar asked Feb 25 '26 21:02

Muhammad Salman Farooq


1 Answers

Shibboleth uses OpenSAML and is open source - take a look at how they implemented this.

There are a number of code examples around e.g. OpenSAML Examples.

To federate with ADFS, follow a similar pattern as e.g. A Quick Walkthrough: Setting up AD FS SAML Federation with a Shibboleth SP or (in far more detail) AD FS 2.0 Step-by-Step Guide: Federation with Shibboleth 2 and the InCommon Federation.

like image 183
rbrayb Avatar answered Feb 27 '26 11:02

rbrayb