Massive Argeo APIs refactoring
[lgpl/argeo-commons.git] / org.argeo.cms.jcr / src / org / argeo / security / jackrabbit / SystemJackrabbitLoginModule.java
index 9c70e9b722ad57fea014c2648bf191120f2994cd..0f63957b7ed39b2197365f101dac37b7b2e39c06 100644 (file)
@@ -12,7 +12,7 @@ import javax.security.auth.x500.X500Principal;
 import org.apache.jackrabbit.core.security.AnonymousPrincipal;
 import org.apache.jackrabbit.core.security.SecurityConstants;
 import org.apache.jackrabbit.core.security.principal.AdminPrincipal;
-import org.argeo.api.security.DataAdminPrincipal;
+import org.argeo.api.cms.DataAdminPrincipal;
 
 /** JAAS login module used when initiating a new Jackrabbit session. */
 public class SystemJackrabbitLoginModule implements LoginModule {
@@ -31,8 +31,8 @@ public class SystemJackrabbitLoginModule implements LoginModule {
 
        @Override
        public boolean commit() throws LoginException {
-               Set<org.argeo.api.security.AnonymousPrincipal> anonPrincipal = subject
-                               .getPrincipals(org.argeo.api.security.AnonymousPrincipal.class);
+               Set<org.argeo.api.cms.AnonymousPrincipal> anonPrincipal = subject
+                               .getPrincipals(org.argeo.api.cms.AnonymousPrincipal.class);
                if (!anonPrincipal.isEmpty()) {
                        subject.getPrincipals().add(new AnonymousPrincipal());
                        return true;