i have generated WSDL file using java2wsdl .i have used apache cxf 2.5.2 version.
how to apply security policies to my WSDL so that client knows that i have implemented UserNameToken and also X.509 security headers to my service.how does these security policies would come automatically by using java2WSDL command. what changes do i need to make for server side cxf-servlet.xml ?