public class RemotePrivilegesManager extends RemoteOpsClient implements PrivilegesManager
entities by making HTTP Requests to the Master. This is required
because some authorization backends (e.g. Apache Sentry) do not support proxy authentication. Hence system
containers like stream and explore service cannot interact with them directly.| Modifier and Type | Method and Description |
|---|---|
void |
grant(EntityId entity,
Principal principal,
Set<Action> actions) |
void |
revoke(EntityId entity) |
void |
revoke(EntityId entity,
Principal principal,
Set<Action> actions) |
executeRequest, executeRequestpublic 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.