Good afternoon, please help me?
need to apply security on my ws, to start did some testing with apache cxf,
I found interesting the solution ws jboss and so downloaded the jboss ws security simple example on github,
I did some tests using WSPasswordCallback for authentication, and it could put some kind of security in my service,
But to generate the wsdl of my service classes used the plugin cxf-java2ws-plugin, however I noticed that the build he did not believe the sp: UsernameToken as gretting.wsdl example has
following fragment:
<sp: UsernameToken sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/AlwaysToRecipient"> <wsp: Policy> <sp: WssUsernameToken10 /> </ wsp: Policy> </ sp: UsernameToken>
I guess I need the goal wsprovide plugin and jboss ws not the java2ws of apache cxf, correct?
I did not understand it because annotations are matched to apache cxf
thanks