+

Search Tips   |   Advanced Search

Secure JAX-RS resources using annotations.

Secure JAX-RS applications within the web container.

Parent

Implement secure JAX-RS applications

We can secure JAX-RS resources by using annotations that specify security settings. We can use @PermitAll, @DenyAll and @RolesAllowed annotations to override the configuration of security constraints defined in the web.xml file.


What to do next

(Optional) Secure downstream JAX-RS resources.


Subtopics


Related tasks

  • Secure JAX-RS resources using annotations