Massive Argeo APIs refactoring
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / internal / kernel / jaas.cfg
index 9ce961b28c2f25fff87d9f32f3a904119a2d5e5e..364977d4b3b9054cac876bb96a05007f8739ba9d 100644 (file)
@@ -1,8 +1,14 @@
 USER {
-    org.argeo.cms.auth.HttpSessionLoginModule sufficient;
+    org.argeo.cms.auth.RemoteSessionLoginModule sufficient;
+    org.argeo.cms.auth.IdentLoginModule optional;
     org.argeo.cms.auth.UserAdminLoginModule requisite;
 };
 
+ANONYMOUS {
+    org.argeo.cms.auth.RemoteSessionLoginModule sufficient;
+    org.argeo.cms.auth.AnonymousLoginModule requisite;
+};
+
 DATA_ADMIN {
     org.argeo.cms.auth.DataAdminLoginModule requisite;
 };
@@ -16,11 +22,6 @@ KEYRING {
 };
 
 SINGLE_USER {
-    com.sun.security.auth.module.Krb5LoginModule optional
-     principal="${user.name}"
-     storeKey=true
-     useTicketCache=true
-     debug=true;
     org.argeo.cms.auth.SingleUserLoginModule requisite;
 };