On Jun 2, 2013, at 10: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.
There are also ways to add policies via spring configuration. See: http://cxf.apache.org/docs/how-to-define-policies.html Dan > > > 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 >> >> -- Daniel Kulp dk...@apache.org - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com