Massive Argeo APIs refactoring
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / internal / kernel / jaas-ipa.cfg
index 52bf4c37567456048d55a19d441dd27d21ae6d09..c7c804c649ef13b561e57d3611301c9f9c07faaf 100644 (file)
@@ -1,8 +1,13 @@
 USER {
-    org.argeo.cms.auth.HttpSessionLoginModule sufficient;
+    org.argeo.cms.auth.RemoteSessionLoginModule sufficient;
     org.argeo.cms.auth.SpnegoLoginModule optional;
-    com.sun.security.auth.module.Krb5LoginModule optional;
-    org.argeo.cms.auth.IpaLoginModule requisite;
+    com.sun.security.auth.module.Krb5LoginModule optional tryFirstPass=true;
+    org.argeo.cms.auth.UserAdminLoginModule sufficient;
+};
+
+ANONYMOUS {
+    org.argeo.cms.auth.RemoteSessionLoginModule sufficient;
+    org.argeo.cms.auth.AnonymousLoginModule sufficient;
 };
 
 DATA_ADMIN {
@@ -13,23 +18,23 @@ NODE {
     com.sun.security.auth.module.Krb5LoginModule optional
      keyTab="${osgi.instance.area}node/krb5.keytab" 
      useKeyTab=true
-     storeKey=true
-     debug=true;
+     storeKey=true;
     org.argeo.cms.auth.DataAdminLoginModule requisite;
 };
 
+KEYRING {
+    org.argeo.cms.auth.KeyringLoginModule required;
+};
+
 SINGLE_USER {
     com.sun.security.auth.module.Krb5LoginModule optional
+     principal="${user.name}"
      storeKey=true
+     useTicketCache=true
      debug=true;
     org.argeo.cms.auth.SingleUserLoginModule requisite;
 };
 
-KEYRING {
-    org.argeo.cms.auth.KeyringLoginModule required;
-};
-
 Jackrabbit {
    org.argeo.security.jackrabbit.SystemJackrabbitLoginModule requisite;
 };
-