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
- Secure JAX-RS resources using annotations
We can secure Java API for RESTful Web Services (JAX-RS) resources by using annotations that specify security settings.
Related tasks
Secure JAX-RS resources using annotations