-
1. Re: JBossWS-CFX in RiftSaw BPEL (basic authentication)
izgur Nov 10, 2010 5:12 AM (in response to izgur)http://community.jboss.org/thread/157598 if it helps ...
-
2. Re: JBossWS-CFX in RiftSaw BPEL (basic authentication)
asoldano Nov 10, 2010 5:26 AM (in response to izgur)It's not clear to me if you really want to do a http basic auth or want to use the UsernameToken profile of WS-Security. The latter is just something you can configure and use as part of the ws-security impl available in apache cxf (but might force you to use https if you use ws-security policy).
The former (http basic auth) is something related to the transport protocol. If you're using a CXF client, take a look here on how to setup the http client: http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html
-
3. Re: JBossWS-CFX in RiftSaw BPEL (basic authentication)
izgur Nov 11, 2010 1:59 AM (in response to asoldano)I remember that when I made a request from soapui, I just had to add my password to the outgoing WS-security configurations...
it added just a usernametoken tag with username and password into the header...
nothing else changed ... so it must UsernameToken of WS-security and...
How can I get this UsernameToken into my request header ? How can i configure that ?
-
4. Re: JBossWS-CFX in RiftSaw BPEL (basic authentication)
asoldano Nov 11, 2010 3:25 AM (in response to izgur)The basic documentation @Apache is here: http://cxf.apache.org/docs/ws-security.html It has a section on username token based authentication.
In terms of JBossWS-CXF integration, take a look at http://community.jboss.org/wiki/JBossWS-StackCXFUserGuide#Authentication_and_authorization . The jbossws-cxf testsuite has some tests/samples covering this topic.