import org.argeo.cms.CmsException;
import org.argeo.eclipse.ui.specific.UiContext;
import org.argeo.node.NodeAuthenticated;
+import org.argeo.node.NodeConstants;
import org.osgi.service.useradmin.Authorization;
/** Static utilities */
public static boolean isAnonymous(Subject subject) {
String username = getUsername(subject);
return username == null
- || username.equalsIgnoreCase(AuthConstants.ROLE_ANONYMOUS);
+ || username.equalsIgnoreCase(NodeConstants.ROLE_ANONYMOUS);
}
private static Subject currentSubject() {