Hello. I'm trying to make a web service client to consume a service with security. The first thing I need to do is generate a token request using WS-Trust and then sign it. Send this token request to the STS and then receive a token signed by the STS. Which libraries I can use to do this? Does anyone have an example to help me?
I´m using wss4j and i could sign the message. Wss4j implements ws-trust? I need set TokenType, AppliesTo, OnBehalfOf, etc.