Author: fschumacher
Date: Sat Aug 11 11:43:44 2018
New Revision: 1837865

URL: http://svn.apache.org/viewvc?rev=1837865&view=rev
Log:
Document the default for appName in JAASRealm

Modified:
    tomcat/trunk/webapps/docs/config/realm.xml

Modified: tomcat/trunk/webapps/docs/config/realm.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/realm.xml?rev=1837865&r1=1837864&r2=1837865&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/config/realm.xml (original)
+++ tomcat/trunk/webapps/docs/config/realm.xml Sat Aug 11 11:43:44 2018
@@ -911,10 +911,14 @@
         one of those roles.</p>
       </attribute>
 
-      <attribute name="appName" required="true">
+      <attribute name="appName" required="false">
        <p>The name of the application as configured in your login configuration
        file
        (<a 
href="http://docs.oracle.com/javase/1.4.2/docs/guide/security/jaas/tutorials/LoginConfigFile.html";>JAAS
 LoginConfig</a>).</p>
+       <p>If not specified <code>appName</code> is derived from the Container's
+       name it is placed in, for example <code>Catalina</code> or 
<code>ROOT</code>.
+       If the realm is not placed in any Container, the default is 
<code>Tomcat</code>.
+       </p>
       </attribute>
 
       <attribute name="userClassNames" required="true">



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to