I am returning an issued token from STS and I need to clean up the response of unnecessary fields that may confuse some primitive clients. One of the node I'd like to get rid of is the Lifetime node from the response body.
<ns2:RequestSecurityTokenResponse> ... <ns2:Lifetime> <ns3:Created>1970-01-01T00:00:00.000Z</ns3:Created> <ns3:Expires>1970-01-01T00:00:00.000Z</ns3:Expires> </ns2:Lifetime> ... </ns2:RequestSecurityTokenResponse> I can probably do it through an SoapMessage inteceptor, but it's not exactly a lightweight process (get message, deserialize it, edit it, serialize it back to XML, write it to output). Is there a way to just prevent this node from being created, or some other more lightweight way of removing it? My poking in the code didn't turn out anything I can use yet. -- View this message in context: http://cxf.547215.n5.nabble.com/STS-removing-Lifetime-from-response-tp5782461.html Sent from the cxf-user mailing list archive at Nabble.com.
