public class DefaultPrivilegesManager extends Object implements PrivilegesManager
PrivilegesManager that also invalidates privileges caches when privileges are updated.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.