Author: markt Date: Fri Jul 22 12:10:33 2011 New Revision: 1149583 URL: http://svn.apache.org/viewvc?rev=1149583&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=41498 Add info for allRolesMode
Modified: tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml tomcat/tc6.0.x/trunk/webapps/docs/config/realm.xml Modified: tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml?rev=1149583&r1=1149582&r2=1149583&view=diff ============================================================================== --- tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml (original) +++ tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml Fri Jul 22 12:10:33 2011 @@ -274,6 +274,10 @@ <subsection name="Webapps"> <changelog> <fix> + <bug>41498</bug>: Add the allRolesMode attribute to the Realm + configuration page in the documentation web application. (markt) + </fix> + <fix> <bug>50804</bug>: Update links for Servlet 2.5 and JSP 2.1 Javadoc. (markt) </fix> Modified: tomcat/tc6.0.x/trunk/webapps/docs/config/realm.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/config/realm.xml?rev=1149583&r1=1149582&r2=1149583&view=diff ============================================================================== --- tomcat/tc6.0.x/trunk/webapps/docs/config/realm.xml (original) +++ tomcat/tc6.0.x/trunk/webapps/docs/config/realm.xml Fri Jul 22 12:10:33 2011 @@ -107,6 +107,19 @@ <attributes> + <attribute name="allRolesMode" required="false"> + <p>This attribute controls how the special role name <code>*</code> is + handled when processing authorization constraints in web.xml. By + default, the specification compliant value of <code>strict</code> is + used which means that the user must be assigned one of the roles defined + in web.xml. The alternative values are <code>authOnly</code> which means + that the user must be authenticated but no check is made for assigned + roles and <code>strictAuthOnly</code> which means that the user must be + authenticated and no check will be made for assigned roles unless roles + are defined in web.xml in which case the user must be assigned at least + one of those roles.</p> + </attribute> + <attribute name="connectionName" required="true"> <p>The database username to use when establishing the JDBC connection.</p> @@ -202,6 +215,19 @@ <attributes> + <attribute name="allRolesMode" required="false"> + <p>This attribute controls how the special role name <code>*</code> is + handled when processing authorization constraints in web.xml. By + default, the specification compliant value of <code>strict</code> is + used which means that the user must be assigned one of the roles defined + in web.xml. The alternative values are <code>authOnly</code> which means + that the user must be authenticated but no check is made for assigned + roles and <code>strictAuthOnly</code> which means that the user must be + authenticated and no check will be made for assigned roles unless roles + are defined in web.xml in which case the user must be assigned at least + one of those roles.</p> + </attribute> + <attribute name="dataSourceName" required="true"> <p>The name of the JNDI JDBC DataSource for this Realm.</p> </attribute> @@ -304,6 +330,19 @@ The default value is "false".</p> </attribute> + <attribute name="allRolesMode" required="false"> + <p>This attribute controls how the special role name <code>*</code> is + handled when processing authorization constraints in web.xml. By + default, the specification compliant value of <code>strict</code> is + used which means that the user must be assigned one of the roles defined + in web.xml. The alternative values are <code>authOnly</code> which means + that the user must be authenticated but no check is made for assigned + roles and <code>strictAuthOnly</code> which means that the user must be + authenticated and no check will be made for assigned roles unless roles + are defined in web.xml in which case the user must be assigned at least + one of those roles.</p> + </attribute> + <attribute name="alternateURL" required="false"> <p>If a socket connection can not be made to the provider at the <code>connectionURL</code> an attempt will be made to use the @@ -497,6 +536,19 @@ <attributes> + <attribute name="allRolesMode" required="false"> + <p>This attribute controls how the special role name <code>*</code> is + handled when processing authorization constraints in web.xml. By + default, the specification compliant value of <code>strict</code> is + used which means that the user must be assigned one of the roles defined + in web.xml. The alternative values are <code>authOnly</code> which means + that the user must be authenticated but no check is made for assigned + roles and <code>strictAuthOnly</code> which means that the user must be + authenticated and no check will be made for assigned roles unless roles + are defined in web.xml in which case the user must be assigned at least + one of those roles.</p> + </attribute> + <attribute name="resourceName" required="true"> <p>The name of the resource that this realm will use for user, password and role information.</p> @@ -526,6 +578,19 @@ <attributes> + <attribute name="allRolesMode" required="false"> + <p>This attribute controls how the special role name <code>*</code> is + handled when processing authorization constraints in web.xml. By + default, the specification compliant value of <code>strict</code> is + used which means that the user must be assigned one of the roles defined + in web.xml. The alternative values are <code>authOnly</code> which means + that the user must be authenticated but no check is made for assigned + roles and <code>strictAuthOnly</code> which means that the user must be + authenticated and no check will be made for assigned roles unless roles + are defined in web.xml in which case the user must be assigned at least + one of those roles.</p> + </attribute> + <attribute name="digest" required="false"> <p>The digest algorithm used to store passwords in non-plaintext formats. Valid values are those accepted for the algorithm name by the @@ -593,6 +658,19 @@ <attributes> + <attribute name="allRolesMode" required="false"> + <p>This attribute controls how the special role name <code>*</code> is + handled when processing authorization constraints in web.xml. By + default, the specification compliant value of <code>strict</code> is + used which means that the user must be assigned one of the roles defined + in web.xml. The alternative values are <code>authOnly</code> which means + that the user must be authenticated but no check is made for assigned + roles and <code>strictAuthOnly</code> which means that the user must be + authenticated and no check will be made for assigned roles unless roles + are defined in web.xml in which case the user must be assigned at least + one of those roles.</p> + </attribute> + <attribute name="appName" required="true"> <p>The name of the application as configured in your login configuration file --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org