Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

integrate simple java app with ADFS2

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 .

like image 295
pallavi Avatar asked Nov 05 '22 00:11

pallavi


1 Answers

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.

like image 53
rbrayb Avatar answered Nov 12 '22 15:11

rbrayb