User: starksm
Date: 01/05/30 19:35:07
Modified: src/etc/conf/default Tag: Branch_2_2 auth.conf
Log:
Update for the current production login modules and add a client-login
config entry for server side clients.
Revision Changes Path
No revision
No revision
1.2.2.1 +11 -13 jboss/src/etc/conf/default/auth.conf
Index: auth.conf
===================================================================
RCS file: /cvsroot/jboss/jboss/src/etc/conf/default/auth.conf,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -u -r1.2 -r1.2.2.1
--- auth.conf 2001/01/10 01:23:57 1.2
+++ auth.conf 2001/05/31 02:35:07 1.2.2.1
@@ -1,9 +1,5 @@
// Put login modules providing authentication and realm mappings
-// for specific beans here, for example:
-// mybean {
-// org.jboss.security.plugins.DatabaseServerLoginModule required
db="jdbc/DbJndiName" table="UserTable" name="UserNameColumn" password="UserPswColumn";
-// com.mycompany.MyRealmMappingLoginModule required param1="value1"
param2="value2";
-// };
+// for security domains.
simple {
// Very simple login module:
@@ -11,20 +7,22 @@
// password should either coincide with user name or be null,
// all users have role "guest",
// users with non-null password also have role "user"
- org.jboss.security.plugins.samples.SimpleServerLoginModule required;
+ org.jboss.security.auth.spi.SimpleServerLoginModule required;
};
+// Used by clients within the application server VM such as
+// mbeans and servlets that access EJBs.
+client-login {
+ org.jboss.security.ClientLoginModule required;
+};
+
// The default server login module
other {
- // A realistic server login module, which can be used when the number
+ // 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).
- org.jboss.security.plugins.samples.JaasServerLoginModule required;
+ org.jboss.security.auth.spi.UsersRolesLoginModule required;
- // For database based authentication comment the line above,
- // uncomment the line below and adjust the parameters in quotes
- // Database server login module provides security manager only, no role mapping
- // org.jboss.security.plugins.DatabaseServerLoginModule required
db="jdbc/DbJndiName" table="UserTable" name="UserNameColumn" password="UserPswColumn";
};
-
\ No newline at end of file
+
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development