Secure JAX-RS resources using annotations.

Before you begin

Secure JAX-RS applications within the web container.

About this task

Step 5 towards the goal: Implementing secure JAX-RS applications

Procedure

You can secure JAX-RS resources by using annotations that specify security settings. You 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.
Task topic    

Terms and conditions for information centers | Feedback

Last updated: April 17, 2014 10:32 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-express-iseries&topic=twbs_jaxrs_impl_securejaxrs_step5
File name: twbs_jaxrs_impl_securejaxrs_step5.html