All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.security.MutablePrincipalRoleMapper Maven / Gradle / Ivy

There is a newer version: 15.1.0.Dev04
Show newest version
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