Hi, Scenario should work in CXF out of the box. You can start from this Glen's blog: http://www.jroller.com/gmazza/entry/cxf_sts_tutorial . After make it working, try to add MEX attribute in your policy assertion.
Regards, Andrei. > -----Original Message----- > From: Emiliano Carlesi [mailto:emiliano.carl...@itattitude.com] > Sent: Dienstag, 5. November 2013 13:06 > To: users@cxf.apache.org > Cc: Emiliano Carlesi > Subject: Newbie question > > Hi All, > I'm new to CXF so this question could be stupid... Please be patient :) > > I read the CXF book, some tutorials and many articles. I doubt, however, > remains :( > > I have a WSP under WS-Trust, so the WSC when invoke it need to attach a > valid token. > I see many example and in all of these I see the client "know" the STS > because configuration its configured on the client side. > I don't want to configure the policies in the client. I want to use the WSP > contract :) > > I'd like the WSC do a MEX call to the WSP to discover which policies it must > implements. When found a required token policy, the WSC must use the > address in "sp:Issuer" -> "wsaw:Address" to know which STS use. > > I think CXF don't work like this "out of the box". It's right? > > Thank you :) > > Ciao > > Emiliano Carlesi > > Email: > emiliano.carl...@itattitude.com<mailto:emiliano.carl...@itattitude.com> > Mobile: +39 3487837153 > Phone: +39 0650939115 > Fax: +39 0689284365 > Skype: emiliano.carlesi > Lync: > emiliano.carl...@itattitude.com<mailto:emiliano.carl...@itattitude.com>