Metro Client with ADFS STS
I'm trying to figure out how to gets a SAML token from ADFS STS. so I have several questions on this. I can not figure out which class are needed just to ask for a SAML token. Any example of code for just asking a STS for a SAML token would be very very helpful.
I have the cert from the STS and imported it into by Glassfish truststore. Is that all that is needed or must I specify the cert?
I was trying to set up the SecureCalculator example to point to ADFS STS rather than Glassfish. What do I need to modify to point the client to the Securitytoken service and the correct endpoint.