Name
<res-auth>
Synopsis
<!ELEMENT res-auth (#PCDATA)>
Description
The
<res-auth>
element indicates whether the application component code performs
resource sign-on programmatically or whether the container signs onto
the resource based on the principal mapping information supplied by
the deployer. Must be CONTAINER
or
SERVLET
.
<resource-ref> <description>Primary database</description> <res-ref-name>jdbc/primaryDB</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>CONTAINER</res-auth> </resource-ref>
Get Java Servlet Programming, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.