Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated Authentication elements with necessary namespace declaration/prefixes.

...

Code Block
xml
xml
 <conduit name="{http://example.com/}HelloWorldServicePort.http-conduit"
   xmlns:sec="http://cxf.apache.org/configuration/security"
   xmlns="http://cxf.apache.org/transports/http/configuration">
   <authorization>
      <AuthorizationType>Basic</AuthorizationType><sec:UserName>myuser</sec:UserName>
      <UserName>myuser</UserName><sec:Password>mypasswd</sec:Password>
      <Password>mypasswd</Password><sec:AuthorizationType>Basic</sec:AuthorizationType>
   </authorization>
 </conduit>

Note: The AuthorizationType element can be omitted if you're using Basic authentication, as above.

Digest Authentication

Same as above but use AuthorizationType "Digest".

...