I did this in Metro[1] but have not had a chance yet to study up on CXF's stsclient. Still, it might have some information you can leverage.
Glen [1] http://www.jroller.com/gmazza/entry/metro_and_wstrust Jan Kölling wrote: > > Hi, > > I'm having a hard time writing a client that uses a SAML token from > a STSClient for authentication (ws-trust). I generated the client code > with wsdl2java but I don't know how or where to provide either a valid > token or the STS itself to the client. I found an example > where the STSClient was provided to a jaxws client as a property > with the key 'ws-security.sts.client' but I can't find the client code > for this example and I don't know how I get a client that works in > this way. > > I am able to get tokens from the STS by using the API but I would > prefer to do as much as possible in the spring config. > > I'm pretty new to the whole WS* specs and have not much experience with > cxf itself, so I may be missing out on some basics. The available > documentation on ws-trust in cxf is not really helpful (a few comments > in the examples would make them much more accessible). > > If you need more information on my use case or my current attempts > I'll try to provide them. I'm sorry for keeping my problem on such > general level. > > Thanks for your help, > > Jan Kölling > > -- View this message in context: http://old.nabble.com/how-to-provide-token-from-sts-to-a-client-tp28948175p28948516.html Sent from the cxf-user mailing list archive at Nabble.com.
