[jboss-cvs] JBossAS SVN: r68115 - in trunk/testsuite/src/resources/test-configs: tomcat-sso/conf and 1 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Dec 10 13:07:59 EST 2007
Author: anil.saldhana at jboss.com
Date: 2007-12-10 13:07:59 -0500 (Mon, 10 Dec 2007)
New Revision: 68115
Modified:
trunk/testsuite/src/resources/test-configs/tomcat-ssl/conf/login-config.xml
trunk/testsuite/src/resources/test-configs/tomcat-sso-cluster/conf/login-config.xml
trunk/testsuite/src/resources/test-configs/tomcat-sso/conf/login-config.xml
Log:
add the other app policy block
Modified: trunk/testsuite/src/resources/test-configs/tomcat-ssl/conf/login-config.xml
===================================================================
--- trunk/testsuite/src/resources/test-configs/tomcat-ssl/conf/login-config.xml 2007-12-10 17:40:52 UTC (rev 68114)
+++ trunk/testsuite/src/resources/test-configs/tomcat-ssl/conf/login-config.xml 2007-12-10 18:07:59 UTC (rev 68115)
@@ -24,6 +24,27 @@
</login-module>
</authentication>
</application-policy>
+ <!-- The default login configuration used by any security domain that
+ does not have a application-policy entry with a matching name
+ -->
+ <application-policy name="other">
+ <!-- A simple server login module, which can be used when the number
+ of users is relatively small. It uses two properties files:
+ users.properties, which holds users (key) and their password (value).
+ roles.properties, which holds users (key) and a comma-separated list of
+ their roles (value).
+ The unauthenticatedIdentity property defines the name of the principal
+ that will be used when a null username and password are presented as is
+ the case for an unuathenticated web client or MDB. If you want to
+ allow such users to be authenticated add the property, e.g.,
+ unauthenticatedIdentity="nobody"
+ -->
+ <authentication>
+ <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
+ flag="required"/>
+ </authentication>
+ </application-policy>
+
</policy>
Modified: trunk/testsuite/src/resources/test-configs/tomcat-sso/conf/login-config.xml
===================================================================
--- trunk/testsuite/src/resources/test-configs/tomcat-sso/conf/login-config.xml 2007-12-10 17:40:52 UTC (rev 68114)
+++ trunk/testsuite/src/resources/test-configs/tomcat-sso/conf/login-config.xml 2007-12-10 18:07:59 UTC (rev 68115)
@@ -40,4 +40,25 @@
</login-module>
</authentication>
</application-policy>
+ <!-- The default login configuration used by any security domain that
+ does not have a application-policy entry with a matching name
+ -->
+ <application-policy name="other">
+ <!-- A simple server login module, which can be used when the number
+ of users is relatively small. It uses two properties files:
+ users.properties, which holds users (key) and their password (value).
+ roles.properties, which holds users (key) and a comma-separated list of
+ their roles (value).
+ The unauthenticatedIdentity property defines the name of the principal
+ that will be used when a null username and password are presented as is
+ the case for an unuathenticated web client or MDB. If you want to
+ allow such users to be authenticated add the property, e.g.,
+ unauthenticatedIdentity="nobody"
+ -->
+ <authentication>
+ <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
+ flag="required"/>
+ </authentication>
+ </application-policy>
+
</policy>
Modified: trunk/testsuite/src/resources/test-configs/tomcat-sso-cluster/conf/login-config.xml
===================================================================
--- trunk/testsuite/src/resources/test-configs/tomcat-sso-cluster/conf/login-config.xml 2007-12-10 17:40:52 UTC (rev 68114)
+++ trunk/testsuite/src/resources/test-configs/tomcat-sso-cluster/conf/login-config.xml 2007-12-10 18:07:59 UTC (rev 68115)
@@ -41,4 +41,25 @@
</authentication>
</application-policy>
+ <!-- The default login configuration used by any security domain that
+ does not have a application-policy entry with a matching name
+ -->
+ <application-policy name="other">
+ <!-- A simple server login module, which can be used when the number
+ of users is relatively small. It uses two properties files:
+ users.properties, which holds users (key) and their password (value).
+ roles.properties, which holds users (key) and a comma-separated list of
+ their roles (value).
+ The unauthenticatedIdentity property defines the name of the principal
+ that will be used when a null username and password are presented as is
+ the case for an unuathenticated web client or MDB. If you want to
+ allow such users to be authenticated add the property, e.g.,
+ unauthenticatedIdentity="nobody"
+ -->
+ <authentication>
+ <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
+ flag="required"/>
+ </authentication>
+ </application-policy>
+
</policy>
More information about the jboss-cvs-commits
mailing list