title: CXF UsernameToken Issue
body: <p>I'm trying to add an UsernameToken wss header to my ws Client. 
  The client implements javax.xml.ws.Service and has been generated through WSDL2Java CFX 3.1.4</p>
  
  <p>Since the wsdl contains </p>
  
  <pre><code>&lt;wsp:Policy xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy" wsu:Id="UsernameTokenPolicy"&gt;
  
       &lt;sp:UsernameToken&gt;
          &lt;wsp:Policy&gt;
            &lt;sp:WssUsernameToken10/&gt;
            &lt;sp:HashPassword/&gt;
          &lt;/wsp:Policy&gt;
       &lt;/sp:UsernameToken&gt;
  
   &lt;/wsp:Policy&gt;
  </code></pre>
  
  <p>Usernametoken header must be added. Searching a bit I've found out that this is simple as </p>
  
  <pre><code>((BindingProvider)soapClient).getRequestContext().put("ws-security.username", usr);
  ((BindingProvider)soapClient).getRequestContext().put("ws-security.password", psw);
  </code></pre>
  
  <p>By the way when I try to perform a call I get the following error:</p>
  
  <pre><code>These policy alternatives can not be satisfied: 
  {http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}UsernameToken: Password hashing policy not enforced
  </code></pre>
  
  <p>Any advice?
  Thank you.</p>
  
  <p>P.S. I've already checked for similar post in stack overflow, but if I try a differente approach like the one suggested <a href="https://stackoverflow.com/questions/26599983/ws-security-usernametoken-with-apache-cxf">here</a> I got a different error:</p>
  
  <pre><code>Interceptor for XXXX has thrown exception, unwinding now
  org.apache.cxf.ws.policy.PolicyException: No username available
  </code></pre>