Rename packages in order to make future stable documentation clearer.
[lgpl/argeo-commons.git] / org.argeo.ext.jackrabbit / src / org / argeo / security / jackrabbit / SystemJackrabbitLoginModule.java
index f7de8d003f73cb68562fc6b968a8882e90973cb1..4b7734623963a3dc578041aa853b2b9a7cbae3af 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.node.security.DataAdminPrincipal;
+import org.argeo.api.security.DataAdminPrincipal;
 
 public class SystemJackrabbitLoginModule implements LoginModule {
        private Subject subject;
@@ -30,7 +30,7 @@ public class SystemJackrabbitLoginModule implements LoginModule {
 
        @Override
        public boolean commit() throws LoginException {
-               Set<org.argeo.node.security.AnonymousPrincipal> anonPrincipal = subject.getPrincipals(org.argeo.node.security.AnonymousPrincipal.class);
+               Set<org.argeo.api.security.AnonymousPrincipal> anonPrincipal = subject.getPrincipals(org.argeo.api.security.AnonymousPrincipal.class);
                if (!anonPrincipal.isEmpty()) {
                        subject.getPrincipals().add(new AnonymousPrincipal());
                        return true;