Hi,
If you are trying to integrate AEMaaCS with ADFS, you might want to explore SSO or SAML. However, if you need to check something and there is an API that accepts your parameters and returns the needed information, you could use a servlet with HTTP clients to communicate with ADFS.
Here are s...