Can i use adfs2 with java application? I want to implement single-sign-on in java. I have read some articals where they have mentioned that you need .net framework .
There are two ways of doing this.
You can protect your Java application with a Java Identity Provider such as OpenSSO, OpenAM, Ping Identity etc. This will take care of the SSO for you. You then federate this provider with ADFS.
Or you can use the OpenSSO or OpenAM Fedlet here or here which is essentially a SAML 2.0 stack. In this case, you could communicate directly with ADFS.
Or (as @Scott states), use one of the other products.
Update:
Using the Fedlet follows the normal SAML integration flow of exchanging metadata (ip / sp .xml). From an ADFS point of view, just install the sp.xml as a RP using the file. Just follow the Fedlet documentation substituting ADFS for OpenAM. There is no sample code (other than what's in the Fedlet). You don't actually have to write anything - it's a configuration exercise.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With