There are quite a few java first policy examples in the systests. I also have a project that has a lot of experimental stuff for ws security policy java first.
https://github.com/pellcorp/cxf/tree/master/JavaFirst On Mon, Jun 3, 2013 at 12:38 PM, Jason Pell <ja...@pellcorp.com> wrote: > Not actually true - there is the @Policy annotations available for java > first that work very well. However i am not sure what version off hand are > supported. I think that if you can use 1.2 in a WSDL in CXF, then that > will also work with @Policy. > > > On Mon, Jun 3, 2013 at 11:15 AM, Freeman Fang <freeman.f...@gmail.com>wrote: > >> Hi, >> >> ws-securitypolicy must be described in a wsdl, so I don't think you can >> use security policy easily with java first way. >> ------------- >> Freeman(Yue) Fang >> >> Red Hat, Inc. >> FuseSource is now part of Red Hat >> Web: http://fusesource.com | http://www.redhat.com/ >> Twitter: freemanfang >> Blog: http://freemanfang.blogspot.com >> http://blog.sina.com.cn/u/1473905042 >> weibo: @Freeman小屋 >> >> www.camelone.org : The open source integration conference: >> >> On 2013-6-2, at 上午5:23, Ted Roeloffzen wrote: >> >> > Hi all, >> > >> > At my company we also create Java-first services, but is it possible to >> > create a Java-first service that uses the securitypolicy version 1.2 >> and if >> > so how? >> > >> > Thanks in advance >> > >> > Kind regards, >> > >> > Ted >> >> >