On Tue, Jan 13, 2015 at 12:18 PM, Asok Perera <[email protected]> wrote:
> Hi, > > I'm developing a JAX WS service and I need to enable security such a way > that it supports below tags in SOAP header. > > <wsse:Security s:mustUnderstand="1"> > > <wsse:UsernameToken > u:Id="uuid-cc1ccc1f-2fba-4bcf-b063-ffc0cac77917-4"> > <wsse:Username>[email protected]</wsse:Username> > <wsse:Password > wsse:Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss- > > username-token-profile-1.0#PasswordText">mypassword</wsse:Password> > </wsse:UsernameToken> > > </wsse:Security> > > > Does someone know how to enable this using @annotations in the service > side ? > There is no annotation based java spec for WS-Security use CXF specific security, refer AS/CXF security samples. Thanks ! > > BR > > *Asok Aravinda Perera* > Software Engineer > WSO2, Inc.;http://wso2.com/ > <http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2F&sa=D&sntz=1&usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ> > lean.enterprise.middleware > > Mobile: +94722241032 > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Sagara Gunathunga Senior Technical Lead; WSO2, Inc.; http://wso2.com V.P Apache Web Services; http://ws.apache.org/ Linkedin; http://www.linkedin.com/in/ssagara Blog ; http://ssagara.blogspot.com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
