yoavs 2004/11/17 09:00:51 Modified: webapps/docs Tag: TOMCAT_5_0 changelog.xml realm-howto.xml Log: Bugzilla 32276: doc patch to realm how-to. Revision Changes Path No revision No revision 1.70.2.69 +3 -0 jakarta-tomcat-catalina/webapps/docs/changelog.xml Index: changelog.xml =================================================================== RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/changelog.xml,v retrieving revision 1.70.2.68 retrieving revision 1.70.2.69 diff -u -r1.70.2.68 -r1.70.2.69 --- changelog.xml 17 Nov 2004 14:54:04 -0000 1.70.2.68 +++ changelog.xml 17 Nov 2004 17:00:51 -0000 1.70.2.69 @@ -55,6 +55,9 @@ <fix> <bug>32130</bug>: Check for null or empty file listing in FileStore#keys. (yoavs) </fix> + <update> + <bug>32276</bug>: Add developer info to Realm How-To. (yoavs) + </update> </changelog> </subsection> 1.14.2.5 +12 -5 jakarta-tomcat-catalina/webapps/docs/realm-howto.xml Index: realm-howto.xml =================================================================== RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/docs/realm-howto.xml,v retrieving revision 1.14.2.4 retrieving revision 1.14.2.5 diff -u -r1.14.2.4 -r1.14.2.5 --- realm-howto.xml 29 Oct 2004 13:37:46 -0000 1.14.2.4 +++ realm-howto.xml 17 Nov 2004 17:00:51 -0000 1.14.2.5 @@ -8,6 +8,7 @@ <properties> <author email="[EMAIL PROTECTED]">Craig R. McClanahan</author> + <author email="[EMAIL PROTECTED]">Yoav Shapira</author> <author email="[EMAIL PROTECTED]">Andrew R. Jaquith</author> <title>Realm Configuration HOW-TO</title> </properties> @@ -108,9 +109,14 @@ </ul> <p>It is also possible to write your own <code>Realm</code> implementation, -and integrate it with Tomcat 5. However, doing this is beyond the scope of -this document. See (<strong>FIXME</strong> - reference to developer stuff) -for more information.</p> +and integrate it with Tomcat 5. To do so, you need to: +<ul> + <li>Implement <code>org.apache.catalina.Realm</code>,</li> + <li>Place your compiled realm in $CATALINA_HOME/server/lib,</li> + <li>Declare your realm as described in the "Configuring a Realm" section below,</li> + <li>Declare your realm to the <a href="mbeans-descriptor-howto.html">MBeans Descriptor</a>.</li> +</ul> +</p> </subsection> @@ -127,8 +133,9 @@ ... other attributes for this implementation .../> </source> -<p>The <code><Realm></code> element can be nested inside one of three -different elements, which has a direct impact on the "scope" of that Realm +<p>The <code><Realm></code> element can be nested inside any one of +of the following <code>Container</code> elements. The location of the +Realm element has a direct impact on the "scope" of that Realm (i.e. which web applications will share the same authentication information): </p> <ul>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]