org.infinispan.client.rest.RestSecurityClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infinispan-client-rest-jakarta Show documentation
Show all versions of infinispan-client-rest-jakarta Show documentation
Infinispan REST Client Jakarta
package org.infinispan.client.rest;
import java.util.List;
import java.util.concurrent.CompletionStage;
/**
* @author Tristan Tarrant <[email protected]>
* @since 12.1
**/
public interface RestSecurityClient {
CompletionStage listRoles(String principal);
CompletionStage grant(String principal, List roles);
CompletionStage deny(String principal, List roles);
CompletionStage flushCache();
CompletionStage createRole(String name, List permissions);
CompletionStage removeRole(String name);
}