Works like a charm, thanks.

Glen

On 06/20/2011 06:51 AM, Colm O hEigeartaigh wrote:
Hi Glen,

You can't configure the STSClient directly to send a Basic Auth
username/password. Why not just use spring as per any web service
client? e.g:

<http:conduit name="{http://sts.com/stsservice}stsport.http-conduit";;>
     <http:authorization>
      <sec:UserName>X</sec:UserName>
      <sec:Password>Y</sec:Password>
     </http:authorization>
   </http:conduit>

Colm.


On Sat, Jun 18, 2011 at 3:00 PM, Glen Mazza<[email protected]>  wrote:
Hello, I'm looking at the Picketlink STS right now.  By default, to be able
to access the STS endpoint it is necessary to provide a basic auth username
and password (this is before either UsernameToken or X509 authentication is
done in order to get a token).  I can easily remove that requirement from
the STS side by editing its web.xml, but was wondering whether CXF's
STSClient can be configured with basic auth info.  The documentation
(http://cxf.apache.org/docs/ws-trust.html) doesn't suggest such an option is
available.

Thanks,
Glen

--
Glen Mazza
Application Integration Division
Talend (http://www.talend.com/ai)
blog: http://www.jroller.com/gmazza








--
Glen Mazza
Application Integration Division
Talend (http://www.talend.com/ai)
blog: http://www.jroller.com/gmazza


Reply via email to