You did not mention the ADFS version?
You have three options:
In the Java world, SAML is commonly used. This means the SAML stack.
The SO link above has a response from me with links to the SAML stack list.
Since you are already using Spring, Spring Security seems good.
Spring SAML Security Extension
ADFS does not currently support OpenID Connect, which disables OAuth.
Yes - Spring Security provides you with a list of claims created by ADFS.
ADFS provides impersonation through identity delegation .
Unfortunately, this is usually done through WCF and WIF (both .NET constructs).
source share