Java and Shibboleth authentication with Azure REST API and ADFS.

The last blog entry was about setting up Onpremise AD with Office 365 and ADFS.

So now to the instresting part. I’m going a little bit awol with this, as I’m not a coder.

First about Azure authentication.

And specially this one.

So this one in mind, let’s proceed.

Java and Azure.

I will explain a litle bit. Below You can see web.xml. This is the file that has everything that a .NET guy needs.

And to get these You need to register App Endpoint in Azure.

Java and ADFS:

You have two options. Use SAML or WS-Fed authentication.

Add Claim Rules is needed. Most common is.







Shibboleth And Azure:
This doesn’t work. It just won’t.

You can use Shibboleth IDP as replament for ADFS though.

Shibboleth And ADFS:

This works nicely. You have to modify federationmetadata.xml to add Relaying Party Trust between Shibboleth and ADFS.








Technet instructions for ADFS 2.0, but it’s identical to ADFS 3.0 and also 3.1

Author: Harri Jaakkonen

Leave a Reply

Your email address will not be published. Required fields are marked *