Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JAX-WS contract first approach and Security Policies - where to find the security information?  RSS feed

Allexicus Kernikus
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using JAX-WS to generate my WS-stubs from a WSDL (contract first approach).

The WSDL uses 'PlolicyReference' elements to enforce security. Everything works - the service is secure and only if I provide the necessary information, my WS is accessible.

My question is though, where is the security information of the policy generated to? In which generated java file can I find the required annotation? Somewhere something down the line of '@RolesAllowed' must be encoded.

Many thanks in advance for your help!!

- Alex
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!