JAX-WS contract first approach and Security Policies - where to find the security information?
posted 4 years ago
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.