Java Servlet Programming (Java Series)

Java Servlet Programming, 2nd Edition > C. Deployment Descriptor DTD Reference > <res-auth>

 
< BACKCONTINUE >
<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>

Last updated on 3/20/2003

Java Servlet Programming, 2nd Edition, © 2001 O'Reilly

< BACKCONTINUE >

Категории