title: How to add SOAP Security Header (UsernameToken) information to code-first Webservice Generated WSDL
body: <p>I'm developing a code-first WebService with Apache CXF + Spring. My web service expects the UsernameToken to be present in SOAP request header in order to authenticate the calling client.
  My question is, is there any way to add SOAP security header (UsernameToken) definition somewhere in the Java code or configuration file, so the generated WSDL will have the security (UsernameToken) included? Please advice.</p>
  
  <p>Many thanks :)</p>