Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic