public class AuthorizerAsPrivilegesManager extends Object implements PrivilegesManager
PrivilegesManager that simply delegates to the configured Authorizer.public void grant(EntityId entity, Principal principal, Set<Action> actions) throws Exception
grant in interface PrivilegesManagerExceptionpublic void revoke(EntityId entity, Principal principal, Set<Action> actions) throws Exception
revoke in interface PrivilegesManagerExceptionpublic void revoke(EntityId entity) throws Exception
revoke in interface PrivilegesManagerExceptionCopyright © 2017 Cask Data, Inc. Licensed under the Apache License, Version 2.0.