com.amazon.opendistroforelasticsearch.security.securityconf.SecurityRoles Maven / Gradle / Ivy
package com.amazon.opendistroforelasticsearch.security.securityconf;
import java.util.Map;
import java.util.Set;
import org.elasticsearch.cluster.metadata.IndexNameExpressionResolver;
import org.elasticsearch.cluster.service.ClusterService;
import org.elasticsearch.common.collect.Tuple;
import com.amazon.opendistroforelasticsearch.security.resolver.IndexResolverReplacer.Resolved;
import com.amazon.opendistroforelasticsearch.security.user.User;
public abstract class SecurityRoles {
public abstract boolean impliesClusterPermissionPermission(String action0);
public abstract Set getRoleNames();
public abstract Set reduce(Resolved requestedResolved, User user, String[] strings, IndexNameExpressionResolver resolver,
ClusterService clusterService);
public abstract boolean impliesTypePermGlobal(Resolved requestedResolved, User user, String[] allIndexPermsRequiredA, IndexNameExpressionResolver resolver,
ClusterService clusterService);
public abstract boolean get(Resolved requestedResolved, User user, String[] allIndexPermsRequiredA, IndexNameExpressionResolver resolver,
ClusterService clusterService);
public abstract Map> getMaskedFields(User user, IndexNameExpressionResolver resolver, ClusterService clusterService);
public abstract Tuple