简体   繁体   中英

Test AD credentials with java using ADFS

I would like to produce java code that could attempt to check the validity of a Domain username/password pair against ADFS

I was given an URL to a federationmetadata.xml (apparently it is ADFS 4.0 - 2016).

I don't want SSO nor a fancy login page, I just want a service to test my login credentials.

As a confessed ignorant on SAML and ADFS I'm having a hard time narrowing the propper possible apporach(es)

Thank you

You can't.

ADFS is an IDP that provides SSO.

So when you use ADFS, you get a login screen.

There is no way to hook in a third-party component as you require.

What you need to do is go straight to AD via LDAP as per this .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM