Details
Description
Hi,
Actually if STSClient uses direct location (not a WSDL) to communicate with STS, it is not very easy to switch binding to SOAP 1.2. Only the way is create STSClient in own interceptor, set the binding and put client in message property SecurityConstants.STS_CLIENT.
Proposal: introduce boolean contextual message property to switch STSClient to SOAP 1.2 binding (ws-security.sts.client-soap12-binding).
Additionally patch contains small DRY refactoring for STSUtils.getClient() methods.
Regards,
Andrei.