User: oleg
Date: 00/10/23 03:29:22
Modified: src/etc/conf auth.conf
Log:
Database-based JAAS LoginModule added.
It can be configured via conf/auth.conf, see comments there.
jdbc2_0-stdext.jar moved from lib/ext to lib because JAAS always uses
SystemClassLoader
Revision Changes Path
1.3 +7 -3 jboss/src/etc/conf/auth.conf
Index: auth.conf
===================================================================
RCS file: /products/cvs/ejboss/jboss/src/etc/conf/auth.conf,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- auth.conf 2000/10/17 13:57:46 1.2
+++ auth.conf 2000/10/23 10:29:22 1.3
@@ -1,12 +1,16 @@
-// Put login modules providing authentication and primary realm mappings
+// Put login modules providing authentication and realm mappings
// for specific beans here, for example:
// mybean {
-// org.jboss.security.DbAuthenticationModule required;
-// com.mycompany.MyRealmMappingLoginModule required param1 param2 param3;
+// org.jboss.security.DatabaseServerLoginModule required db="jdbc/DbJndiName"
table="UserTable" name="UserNameColumn" password="UserPswColumn";
+// com.mycompany.MyRealmMappingLoginModule required param1="value1"
param2="value2";
// }
other {
// Provides the default realm mapping
org.jboss.security.SimpleServerLoginModule required;
+
+ // For database based authentication comment the line above,
+ // uncomment the line below and adjust the parameters in quotes
+ // org.jboss.security.DatabaseServerLoginModule required db="jdbc/DbJndiName"
table="UserTable" name="UserNameColumn" password="UserPswColumn";
};