I configured identity provider and Relying party application in ACS and i see that ACS is sending SAML token to my return URL
Now the question is: How do i process the SAML token in java , validate it and extract the claims?
I'd suggest looking at Cloud Ninja for Java, a reference app demonstrating how to build multi-tenant applications in Windows Azure with Java.
If you look at the TenantProvisioning app, you'll see ACSAuthenticationHelper.java, which is a good place to start, as it creates new tenants, sets up relying party, etc. You'll need to look at the TenantDashboard app to see how users are authenticated. Under the utils
folder, you'll see SAMLParser.java.