Java Servlet Programming, 2nd Edition > C. Deployment Descriptor DTD Reference > <res-auth> |
Synopsis<!ELEMENT res-auth (#PCDATA)> DescriptionThe <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>
|