org.infinispan.security.MutablePrincipalRoleMapper Maven / Gradle / Ivy
package org.infinispan.security;
import org.infinispan.security.mappers.ClusterRoleMapper;
import java.util.Map;
import java.util.Set;
/**
* @author Tristan Tarrant <[email protected]>
* @since 12.1
**/
public interface MutablePrincipalRoleMapper extends PrincipalRoleMapper {
void grant(String roleName, String principalName);
void deny(String roleName, String principalName);
Set list(String principalName);
String listAll();
Set listPrincipals();
Set> listPrincipalsAndRoleSet();
Set listPrincipalsByRole(String role);
void denyAll(String principal);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy