Sample code for getting Ping Federate and WS-Trust to work together with Java