Given the JAX-RS root resource class fragment: Choose the statement that best describes the configuration that would be required to support the access control constraint shown:

Given the JAX-RS root resource class fragment:

Choose the statement that best describes the configuration that would be required to support the
access control constraint shown:

Given the JAX-RS root resource class fragment:

Choose the statement that best describes the configuration that would be required to support the
access control constraint shown:

A.
No further configuration is required – the JavaEE runtime will pick up the security constraint and
configure the web container to match.

B.
The developer will have to configure the web container to require authenticated access to the
URLs corresponding to this resource, so the proper information can be propagated to the EJB
container.

C.
The developer will have to turn on authentication in the web container configuration file, so that
all incoming requests are authenticated in order to be processed.

D.
The developer will have to configure the web container to require authenticated access to the
URLs corresponding to this resource, and then map web-tier roles to ejb-tier roles, since the JAXRS and EJB runtimes cannot use the same set of roles.

Explanation:



Leave a Reply 1

Your email address will not be published. Required fields are marked *


Liberty

Liberty

beulitfualy written good sir! I love the quote from Ratzinger- I remember reading excerpts of that book when I was taking Theology of the Church! Thanks for everything Prof. Rice!Jerome Jumawan