http://git-wip-us.apache.org/repos/asf/hbase-site/blob/68eae623/devapidocs/org/apache/hadoop/hbase/security/access/AccessControlUtil.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/security/access/AccessControlUtil.html b/devapidocs/org/apache/hadoop/hbase/security/access/AccessControlUtil.html index a644a4a..6691b7d 100644 --- a/devapidocs/org/apache/hadoop/hbase/security/access/AccessControlUtil.html +++ b/devapidocs/org/apache/hadoop/hbase/security/access/AccessControlUtil.html @@ -50,7 +50,7 @@ var activeTableTab = "activeTableTab"; <div class="subNav"> <ul class="navList"> <li><a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessControlLists.html" title="class in org.apache.hadoop.hbase.security.access"><span class="typeNameLink">Prev Class</span></a></li> -<li><a href="../../../../../../org/apache/hadoop/hbase/security/access/AuthResult.html" title="class in org.apache.hadoop.hbase.security.access"><span class="typeNameLink">Next Class</span></a></li> +<li><a href="../../../../../../org/apache/hadoop/hbase/security/access/AuthManager.html" title="class in org.apache.hadoop.hbase.security.access"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../../index.html?org/apache/hadoop/hbase/security/access/AccessControlUtil.html" target="_top">Frames</a></li> @@ -164,7 +164,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessControlUtil.html#buildGrantRequest-java.lang.String-boolean-org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action...-">buildGrantRequest</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> username, boolean mergeExistingPermissions, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action... actions)</code> -<div class="block">Create a request to grant user permissions.</div> +<div class="block">Create a request to grant user global permissions.</div> </td> </tr> <tr id="i2" class="altColor"> @@ -173,7 +173,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> namespace, boolean mergeExistingPermissions, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action... actions)</code> -<div class="block">Create a request to grant user permissions.</div> +<div class="block">Create a request to grant user namespace permissions.</div> </td> </tr> <tr id="i3" class="rowColor"> @@ -184,14 +184,14 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html byte[] qualifier, boolean mergeExistingPermissions, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action... actions)</code> -<div class="block">Create a request to grant user permissions.</div> +<div class="block">Create a request to grant user table permissions.</div> </td> </tr> <tr id="i4" class="altColor"> <td class="colFirst"><code>static org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.RevokeRequest</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessControlUtil.html#buildRevokeRequest-java.lang.String-org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action...-">buildRevokeRequest</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> username, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action... actions)</code> -<div class="block">Create a request to revoke user permissions.</div> +<div class="block">Create a request to revoke user global permissions.</div> </td> </tr> <tr id="i5" class="rowColor"> @@ -199,7 +199,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessControlUtil.html#buildRevokeRequest-java.lang.String-java.lang.String-org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action...-">buildRevokeRequest</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> username, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> namespace, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action... actions)</code> -<div class="block">Create a request to revoke user permissions.</div> +<div class="block">Create a request to revoke user namespace permissions.</div> </td> </tr> <tr id="i6" class="altColor"> @@ -209,7 +209,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html byte[] family, byte[] qualifier, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action... actions)</code> -<div class="block">Create a request to revoke user permissions.</div> +<div class="block">Create a request to revoke user table permissions.</div> </td> </tr> <tr id="i7" class="rowColor"> @@ -349,35 +349,35 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html </td> </tr> <tr id="i21" class="rowColor"> +<td class="colFirst"><code>static org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html" title="class in org.apache.hadoop.hbase.security.access">Permission</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessControlUtil.html#toPermission-org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UsersAndPermissions-">toPermission</a></span>(org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UsersAndPermissions proto)</code> +<div class="block">Convert a protobuf UserTablePermissions to a ListMultimap<Username, Permission></div> +</td> +</tr> +<tr id="i22" class="altColor"> <td class="colFirst"><code>static org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessControlUtil.html#toPermission-org.apache.hadoop.hbase.security.access.Permission-">toPermission</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html" title="class in org.apache.hadoop.hbase.security.access">Permission</a> perm)</code> <div class="block">Convert a client Permission to a Permission proto</div> </td> </tr> -<tr id="i22" class="altColor"> +<tr id="i23" class="rowColor"> <td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html" title="enum in org.apache.hadoop.hbase.security.access">Permission.Action</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessControlUtil.html#toPermissionAction-org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action-">toPermissionAction</a></span>(org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action action)</code> <div class="block">Converts a Permission.Action proto to a client Permission.Action object.</div> </td> </tr> -<tr id="i23" class="rowColor"> +<tr id="i24" class="altColor"> <td class="colFirst"><code>static org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessControlUtil.html#toPermissionAction-org.apache.hadoop.hbase.security.access.Permission.Action-">toPermissionAction</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html" title="enum in org.apache.hadoop.hbase.security.access">Permission.Action</a> action)</code> <div class="block">Convert a client Permission.Action to a Permission.Action proto</div> </td> </tr> -<tr id="i24" class="altColor"> +<tr id="i25" class="rowColor"> <td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html" title="enum in org.apache.hadoop.hbase.security.access">Permission.Action</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessControlUtil.html#toPermissionActions-java.util.List-">toPermissionActions</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action> protoActions)</code> <div class="block">Converts a list of Permission.Action proto to a list of client Permission.Action objects.</div> </td> </tr> -<tr id="i25" class="rowColor"> -<td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html" title="class in org.apache.hadoop.hbase.security.access">TablePermission</a></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessControlUtil.html#toTablePermission-org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission-">toTablePermission</a></span>(org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission proto)</code> -<div class="block">Converts a Permission proto to a client TablePermission object.</div> -</td> -</tr> <tr id="i26" class="altColor"> <td class="colFirst"><code>static <a href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html" title="class in org.apache.hadoop.hbase.security.access">TablePermission</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessControlUtil.html#toTablePermission-org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.TablePermission-">toTablePermission</a></span>(org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.TablePermission proto)</code> @@ -391,34 +391,33 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html </td> </tr> <tr id="i28" class="altColor"> +<td class="colFirst"><code>static org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../../org/apache/hadoop/hbase/security/access/UserPermission.html" title="class in org.apache.hadoop.hbase.security.access">UserPermission</a>></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessControlUtil.html#toUserPermission-org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UsersAndPermissions-">toUserPermission</a></span>(org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UsersAndPermissions proto)</code> +<div class="block">Convert a protobuf UserTablePermissions to a ListMultimap<Username, UserPermission></div> +</td> +</tr> +<tr id="i29" class="rowColor"> <td class="colFirst"><code>static org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UserPermission</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessControlUtil.html#toUserPermission-org.apache.hadoop.hbase.security.access.UserPermission-">toUserPermission</a></span>(<a href="../../../../../../org/apache/hadoop/hbase/security/access/UserPermission.html" title="class in org.apache.hadoop.hbase.security.access">UserPermission</a> perm)</code> <div class="block">Convert a client user permission to a user permission proto</div> </td> </tr> -<tr id="i29" class="rowColor"> +<tr id="i30" class="altColor"> <td class="colFirst"><code>static org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html" title="class in org.apache.hadoop.hbase.security.access">Permission</a>></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessControlUtil.html#toUsersAndPermissions-org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UsersAndPermissions-">toUsersAndPermissions</a></span>(org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UsersAndPermissions proto)</code> </td> </tr> -<tr id="i30" class="altColor"> +<tr id="i31" class="rowColor"> <td class="colFirst"><code>static org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UsersAndPermissions</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessControlUtil.html#toUsersAndPermissions-org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap-">toUsersAndPermissions</a></span>(org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html" title="class in org.apache.hadoop.hbase.security.access">Permission</a>> perms)</code> </td> </tr> -<tr id="i31" class="rowColor"> +<tr id="i32" class="altColor"> <td class="colFirst"><code>static org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UsersAndPermissions</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessControlUtil.html#toUsersAndPermissions-java.lang.String-org.apache.hadoop.hbase.security.access.Permission-">toUsersAndPermissions</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> user, <a href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html" title="class in org.apache.hadoop.hbase.security.access">Permission</a> perms)</code> </td> </tr> -<tr id="i32" class="altColor"> -<td class="colFirst"><code>static org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html" title="class in org.apache.hadoop.hbase.security.access">TablePermission</a>></code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessControlUtil.html#toUserTablePermissions-org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UsersAndPermissions-">toUserTablePermissions</a></span>(org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UsersAndPermissions proto)</code> -<div class="block">Convert a protobuf UserTablePermissions to a - ListMultimap<String, TablePermission> where key is username.</div> -</td> -</tr> <tr id="i33" class="rowColor"> <td class="colFirst"><code>static org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UsersAndPermissions</code></td> -<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessControlUtil.html#toUserTablePermissions-org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap-">toUserTablePermissions</a></span>(org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html" title="class in org.apache.hadoop.hbase.security.access">TablePermission</a>> perm)</code> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessControlUtil.html#toUserTablePermissions-org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap-">toUserTablePermissions</a></span>(org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../../org/apache/hadoop/hbase/security/access/UserPermission.html" title="class in org.apache.hadoop.hbase.security.access">UserPermission</a>> perm)</code> <div class="block">Convert a ListMultimap<String, TablePermission> where key is username to a protobuf UserPermission</div> </td> @@ -474,7 +473,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html byte[] qualifier, boolean mergeExistingPermissions, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action... actions)</pre> -<div class="block">Create a request to grant user permissions.</div> +<div class="block">Create a request to grant user table permissions.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>username</code> - the short user name who to grant permissions</dd> @@ -497,7 +496,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> namespace, boolean mergeExistingPermissions, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action... actions)</pre> -<div class="block">Create a request to grant user permissions.</div> +<div class="block">Create a request to grant user namespace permissions.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>username</code> - the short user name who to grant permissions</dd> @@ -516,7 +515,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <h4>buildRevokeRequest</h4> <pre>public static org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.RevokeRequest <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.128">buildRevokeRequest</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> username, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action... actions)</pre> -<div class="block">Create a request to revoke user permissions.</div> +<div class="block">Create a request to revoke user global permissions.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>username</code> - the short user name whose permissions to be revoked</dd> @@ -535,7 +534,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <pre>public static org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.RevokeRequest <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.155">buildRevokeRequest</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> username, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> namespace, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action... actions)</pre> -<div class="block">Create a request to revoke user permissions.</div> +<div class="block">Create a request to revoke user namespace permissions.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>username</code> - the short user name whose permissions to be revoked</dd> @@ -555,7 +554,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <pre>public static org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GrantRequest <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.185">buildGrantRequest</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> username, boolean mergeExistingPermissions, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action... actions)</pre> -<div class="block">Create a request to grant user permissions.</div> +<div class="block">Create a request to grant user global permissions.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>username</code> - the short user name who to grant permissions</dd> @@ -593,29 +592,13 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <pre>public static org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html" title="class in org.apache.hadoop.hbase.security.access">Permission</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.230">toUsersAndPermissions</a>(org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UsersAndPermissions proto)</pre> </li> </ul> -<a name="toPermission-org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission-"> -<!-- --> -</a> -<ul class="blockList"> -<li class="blockList"> -<h4>toPermission</h4> -<pre>public static <a href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html" title="class in org.apache.hadoop.hbase.security.access">Permission</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.250">toPermission</a>(org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission proto)</pre> -<div class="block">Converts a Permission proto to a client Permission object.</div> -<dl> -<dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>proto</code> - the protobuf Permission</dd> -<dt><span class="returnLabel">Returns:</span></dt> -<dd>the converted Permission</dd> -</dl> -</li> -</ul> <a name="toTablePermission-org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.TablePermission-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>toTablePermission</h4> -<pre>public static <a href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html" title="class in org.apache.hadoop.hbase.security.access">TablePermission</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.265">toTablePermission</a>(org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.TablePermission proto)</pre> +<pre>public static <a href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html" title="class in org.apache.hadoop.hbase.security.access">TablePermission</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.248">toTablePermission</a>(org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.TablePermission proto)</pre> <div class="block">Converts a TablePermission proto to a client TablePermission object.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -625,19 +608,19 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html </dl> </li> </ul> -<a name="toTablePermission-org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission-"> +<a name="toPermission-org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>toTablePermission</h4> -<pre>public static <a href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html" title="class in org.apache.hadoop.hbase.security.access">TablePermission</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.289">toTablePermission</a>(org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission proto)</pre> -<div class="block">Converts a Permission proto to a client TablePermission object.</div> +<h4>toPermission</h4> +<pre>public static <a href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html" title="class in org.apache.hadoop.hbase.security.access">Permission</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.272">toPermission</a>(org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission proto)</pre> +<div class="block">Converts a Permission proto to a client Permission object.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>proto</code> - the protobuf Permission</dd> <dt><span class="returnLabel">Returns:</span></dt> -<dd>the converted TablePermission</dd> +<dd>the converted Permission</dd> </dl> </li> </ul> @@ -647,7 +630,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>toPermission</h4> -<pre>public static org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.335">toPermission</a>(<a href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html" title="class in org.apache.hadoop.hbase.security.access">Permission</a> perm)</pre> +<pre>public static org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.315">toPermission</a>(<a href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html" title="class in org.apache.hadoop.hbase.security.access">Permission</a> perm)</pre> <div class="block">Convert a client Permission to a Permission proto</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -663,7 +646,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>toPermissionActions</h4> -<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html" title="enum in org.apache.hadoop.hbase.security.access">Permission.Action</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.396">toPermissionActions</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action> protoActions)</pre> +<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html" title="enum in org.apache.hadoop.hbase.security.access">Permission.Action</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.371">toPermissionActions</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action> protoActions)</pre> <div class="block">Converts a list of Permission.Action proto to a list of client Permission.Action objects.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -679,7 +662,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>toPermissionAction</h4> -<pre>public static <a href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html" title="enum in org.apache.hadoop.hbase.security.access">Permission.Action</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.411">toPermissionAction</a>(org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action action)</pre> +<pre>public static <a href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html" title="enum in org.apache.hadoop.hbase.security.access">Permission.Action</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.386">toPermissionAction</a>(org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action action)</pre> <div class="block">Converts a Permission.Action proto to a client Permission.Action object.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -695,7 +678,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>toPermissionAction</h4> -<pre>public static org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.434">toPermissionAction</a>(<a href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html" title="enum in org.apache.hadoop.hbase.security.access">Permission.Action</a> action)</pre> +<pre>public static org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.409">toPermissionAction</a>(<a href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html" title="enum in org.apache.hadoop.hbase.security.access">Permission.Action</a> action)</pre> <div class="block">Convert a client Permission.Action to a Permission.Action proto</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -711,7 +694,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>toUserPermission</h4> -<pre>public static org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UserPermission <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.457">toUserPermission</a>(<a href="../../../../../../org/apache/hadoop/hbase/security/access/UserPermission.html" title="class in org.apache.hadoop.hbase.security.access">UserPermission</a> perm)</pre> +<pre>public static org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UserPermission <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.432">toUserPermission</a>(<a href="../../../../../../org/apache/hadoop/hbase/security/access/UserPermission.html" title="class in org.apache.hadoop.hbase.security.access">UserPermission</a> perm)</pre> <div class="block">Convert a client user permission to a user permission proto</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -727,7 +710,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>buildGetUserPermissionsResponse</h4> -<pre>public static org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.467">buildGetUserPermissionsResponse</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/hadoop/hbase/security/access/UserPermission.html" title="class in org.apache.hadoop.hbase.security.access">UserPermission</a>> permissions)</pre> +<pre>public static org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.442">buildGetUserPermissionsResponse</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/hadoop/hbase/security/access/UserPermission.html" title="class in org.apache.hadoop.hbase.security.access">UserPermission</a>> permissions)</pre> <div class="block">Converts the permissions list into a protocol buffer GetUserPermissionsResponse</div> </li> </ul> @@ -737,7 +720,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>toUserPermission</h4> -<pre>public static <a href="../../../../../../org/apache/hadoop/hbase/security/access/UserPermission.html" title="class in org.apache.hadoop.hbase.security.access">UserPermission</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.482">toUserPermission</a>(org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UserPermission proto)</pre> +<pre>public static <a href="../../../../../../org/apache/hadoop/hbase/security/access/UserPermission.html" title="class in org.apache.hadoop.hbase.security.access">UserPermission</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.457">toUserPermission</a>(org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UserPermission proto)</pre> <div class="block">Converts a user permission proto to a client user permission object.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -753,7 +736,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>toUserTablePermissions</h4> -<pre>public static org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UsersAndPermissions <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.494">toUserTablePermissions</a>(org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html" title="class in org.apache.hadoop.hbase.security.access">TablePermission</a>> perm)</pre> +<pre>public static org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UsersAndPermissions <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.468">toUserTablePermissions</a>(org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../../org/apache/hadoop/hbase/security/access/UserPermission.html" title="class in org.apache.hadoop.hbase.security.access">UserPermission</a>> perm)</pre> <div class="block">Convert a ListMultimap<String, TablePermission> where key is username to a protobuf UserPermission</div> <dl> @@ -770,7 +753,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>grant</h4> -<pre>public static void <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.520">grant</a>(com.google.protobuf.RpcController controller, +<pre>public static void <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.494">grant</a>(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface protocol, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> userShortName, boolean mergeExistingPermissions, @@ -795,7 +778,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>grant</h4> -<pre>public static void <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.547">grant</a>(com.google.protobuf.RpcController controller, +<pre>public static void <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.521">grant</a>(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface protocol, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> userShortName, <a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, @@ -827,7 +810,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>grant</h4> -<pre>public static void <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.573">grant</a>(com.google.protobuf.RpcController controller, +<pre>public static void <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.547">grant</a>(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface protocol, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> userShortName, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> namespace, @@ -854,7 +837,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>revoke</h4> -<pre>public static void <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.597">revoke</a>(com.google.protobuf.RpcController controller, +<pre>public static void <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.571">revoke</a>(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface protocol, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> userShortName, <a href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.Action.html" title="enum in org.apache.hadoop.hbase.security.access">Permission.Action</a>... actions) @@ -879,7 +862,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>revoke</h4> -<pre>public static void <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.625">revoke</a>(com.google.protobuf.RpcController controller, +<pre>public static void <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.599">revoke</a>(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface protocol, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> userShortName, <a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, @@ -911,7 +894,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>revoke</h4> -<pre>public static void <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.650">revoke</a>(com.google.protobuf.RpcController controller, +<pre>public static void <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.624">revoke</a>(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface protocol, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> userShortName, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> namespace, @@ -938,7 +921,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>getUserPermissions</h4> -<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/hadoop/hbase/security/access/UserPermission.html" title="class in org.apache.hadoop.hbase.security.access">UserPermission</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.672">getUserPermissions</a>(com.google.protobuf.RpcController controller, +<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/hadoop/hbase/security/access/UserPermission.html" title="class in org.apache.hadoop.hbase.security.access">UserPermission</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.646">getUserPermissions</a>(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface protocol) throws com.google.protobuf.ServiceException</pre> <div class="block">A utility used to get user's global permissions. @@ -959,7 +942,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>getUserPermissions</h4> -<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/hadoop/hbase/security/access/UserPermission.html" title="class in org.apache.hadoop.hbase.security.access">UserPermission</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.684">getUserPermissions</a>(com.google.protobuf.RpcController controller, +<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/hadoop/hbase/security/access/UserPermission.html" title="class in org.apache.hadoop.hbase.security.access">UserPermission</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.658">getUserPermissions</a>(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface protocol, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> userName) throws com.google.protobuf.ServiceException</pre> @@ -980,7 +963,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>getUserPermissions</h4> -<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/hadoop/hbase/security/access/UserPermission.html" title="class in org.apache.hadoop.hbase.security.access">UserPermission</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.713">getUserPermissions</a>(com.google.protobuf.RpcController controller, +<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/hadoop/hbase/security/access/UserPermission.html" title="class in org.apache.hadoop.hbase.security.access">UserPermission</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.687">getUserPermissions</a>(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface protocol, <a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> t) throws com.google.protobuf.ServiceException</pre> @@ -1003,7 +986,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>getUserPermissions</h4> -<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/hadoop/hbase/security/access/UserPermission.html" title="class in org.apache.hadoop.hbase.security.access">UserPermission</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.730">getUserPermissions</a>(com.google.protobuf.RpcController controller, +<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/hadoop/hbase/security/access/UserPermission.html" title="class in org.apache.hadoop.hbase.security.access">UserPermission</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.704">getUserPermissions</a>(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface protocol, <a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> t, byte[] columnFamily, @@ -1031,7 +1014,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>getUserPermissions</h4> -<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/hadoop/hbase/security/access/UserPermission.html" title="class in org.apache.hadoop.hbase.security.access">UserPermission</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.769">getUserPermissions</a>(com.google.protobuf.RpcController controller, +<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/hadoop/hbase/security/access/UserPermission.html" title="class in org.apache.hadoop.hbase.security.access">UserPermission</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.743">getUserPermissions</a>(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface protocol, byte[] namespace) throws com.google.protobuf.ServiceException</pre> @@ -1054,7 +1037,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>getUserPermissions</h4> -<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/hadoop/hbase/security/access/UserPermission.html" title="class in org.apache.hadoop.hbase.security.access">UserPermission</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.783">getUserPermissions</a>(com.google.protobuf.RpcController controller, +<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../../org/apache/hadoop/hbase/security/access/UserPermission.html" title="class in org.apache.hadoop.hbase.security.access">UserPermission</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.757">getUserPermissions</a>(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface protocol, byte[] namespace, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> userName) @@ -1077,7 +1060,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockList"> <li class="blockList"> <h4>hasPermission</h4> -<pre>public static boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.821">hasPermission</a>(com.google.protobuf.RpcController controller, +<pre>public static boolean <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.795">hasPermission</a>(com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.AccessControlService.BlockingInterface protocol, <a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, byte[] columnFamily, @@ -1106,20 +1089,35 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html </dl> </li> </ul> -<a name="toUserTablePermissions-org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UsersAndPermissions-"> +<a name="toUserPermission-org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UsersAndPermissions-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> -<h4>toUserTablePermissions</h4> -<pre>public static org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../../org/apache/hadoop/hbase/security/access/TablePermission.html" title="class in org.apache.hadoop.hbase.security.access">TablePermission</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.853">toUserTablePermissions</a>(org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UsersAndPermissions proto)</pre> -<div class="block">Convert a protobuf UserTablePermissions to a - ListMultimap<String, TablePermission> where key is username.</div> +<h4>toUserPermission</h4> +<pre>public static org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../../org/apache/hadoop/hbase/security/access/UserPermission.html" title="class in org.apache.hadoop.hbase.security.access">UserPermission</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.825">toUserPermission</a>(org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UsersAndPermissions proto)</pre> +<div class="block">Convert a protobuf UserTablePermissions to a ListMultimap<Username, UserPermission></div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> -<dd><code>proto</code> - the protobuf UserPermission</dd> +<dd><code>proto</code> - the proto UsersAndPermissions</dd> <dt><span class="returnLabel">Returns:</span></dt> -<dd>the converted UserPermission</dd> +<dd>a ListMultimap with user and its permissions</dd> +</dl> +</li> +</ul> +<a name="toPermission-org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UsersAndPermissions-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>toPermission</h4> +<pre>public static org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../../../org/apache/hadoop/hbase/security/access/Permission.html" title="class in org.apache.hadoop.hbase.security.access">Permission</a>> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.845">toPermission</a>(org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UsersAndPermissions proto)</pre> +<div class="block">Convert a protobuf UserTablePermissions to a ListMultimap<Username, Permission></div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>proto</code> - the proto UsersAndPermissions</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>a ListMultimap with user and its permissions</dd> </dl> </li> </ul> @@ -1129,12 +1127,12 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <ul class="blockListLast"> <li class="blockList"> <h4>buildRevokeRequest</h4> -<pre>public static org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.RevokeRequest <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.877">buildRevokeRequest</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> username, +<pre>public static org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.RevokeRequest <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessControlUtil.html#line.869">buildRevokeRequest</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> username, <a href="../../../../../../org/apache/hadoop/hbase/TableName.html" title="class in org.apache.hadoop.hbase">TableName</a> tableName, byte[] family, byte[] qualifier, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action... actions)</pre> -<div class="block">Create a request to revoke user permissions.</div> +<div class="block">Create a request to revoke user table permissions.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>username</code> - the short user name whose permissions to be revoked</dd> @@ -1176,7 +1174,7 @@ extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html <div class="subNav"> <ul class="navList"> <li><a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessControlLists.html" title="class in org.apache.hadoop.hbase.security.access"><span class="typeNameLink">Prev Class</span></a></li> -<li><a href="../../../../../../org/apache/hadoop/hbase/security/access/AuthResult.html" title="class in org.apache.hadoop.hbase.security.access"><span class="typeNameLink">Next Class</span></a></li> +<li><a href="../../../../../../org/apache/hadoop/hbase/security/access/AuthManager.html" title="class in org.apache.hadoop.hbase.security.access"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../../index.html?org/apache/hadoop/hbase/security/access/AccessControlUtil.html" target="_top">Frames</a></li>
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/68eae623/devapidocs/org/apache/hadoop/hbase/security/access/AccessController.OpType.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/security/access/AccessController.OpType.html b/devapidocs/org/apache/hadoop/hbase/security/access/AccessController.OpType.html index 08a3446..bd937f9 100644 --- a/devapidocs/org/apache/hadoop/hbase/security/access/AccessController.OpType.html +++ b/devapidocs/org/apache/hadoop/hbase/security/access/AccessController.OpType.html @@ -122,7 +122,7 @@ var activeTableTab = "activeTableTab"; </dl> <hr> <br> -<pre>private static enum <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessController.html#line.509">AccessController.OpType</a> +<pre>private static enum <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessController.html#line.508">AccessController.OpType</a> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a><<a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessController.OpType.html" title="enum in org.apache.hadoop.hbase.security.access">AccessController.OpType</a>></pre> </li> </ul> @@ -257,7 +257,7 @@ the order they are declared.</div> <ul class="blockList"> <li class="blockList"> <h4>GET</h4> -<pre>public static final <a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessController.OpType.html" title="enum in org.apache.hadoop.hbase.security.access">AccessController.OpType</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html#line.510">GET</a></pre> +<pre>public static final <a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessController.OpType.html" title="enum in org.apache.hadoop.hbase.security.access">AccessController.OpType</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html#line.509">GET</a></pre> </li> </ul> <a name="EXISTS"> @@ -266,7 +266,7 @@ the order they are declared.</div> <ul class="blockList"> <li class="blockList"> <h4>EXISTS</h4> -<pre>public static final <a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessController.OpType.html" title="enum in org.apache.hadoop.hbase.security.access">AccessController.OpType</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html#line.511">EXISTS</a></pre> +<pre>public static final <a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessController.OpType.html" title="enum in org.apache.hadoop.hbase.security.access">AccessController.OpType</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html#line.510">EXISTS</a></pre> </li> </ul> <a name="SCAN"> @@ -275,7 +275,7 @@ the order they are declared.</div> <ul class="blockList"> <li class="blockList"> <h4>SCAN</h4> -<pre>public static final <a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessController.OpType.html" title="enum in org.apache.hadoop.hbase.security.access">AccessController.OpType</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html#line.512">SCAN</a></pre> +<pre>public static final <a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessController.OpType.html" title="enum in org.apache.hadoop.hbase.security.access">AccessController.OpType</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html#line.511">SCAN</a></pre> </li> </ul> <a name="PUT"> @@ -284,7 +284,7 @@ the order they are declared.</div> <ul class="blockList"> <li class="blockList"> <h4>PUT</h4> -<pre>public static final <a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessController.OpType.html" title="enum in org.apache.hadoop.hbase.security.access">AccessController.OpType</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html#line.513">PUT</a></pre> +<pre>public static final <a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessController.OpType.html" title="enum in org.apache.hadoop.hbase.security.access">AccessController.OpType</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html#line.512">PUT</a></pre> </li> </ul> <a name="DELETE"> @@ -293,7 +293,7 @@ the order they are declared.</div> <ul class="blockList"> <li class="blockList"> <h4>DELETE</h4> -<pre>public static final <a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessController.OpType.html" title="enum in org.apache.hadoop.hbase.security.access">AccessController.OpType</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html#line.514">DELETE</a></pre> +<pre>public static final <a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessController.OpType.html" title="enum in org.apache.hadoop.hbase.security.access">AccessController.OpType</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html#line.513">DELETE</a></pre> </li> </ul> <a name="CHECK_AND_PUT"> @@ -302,7 +302,7 @@ the order they are declared.</div> <ul class="blockList"> <li class="blockList"> <h4>CHECK_AND_PUT</h4> -<pre>public static final <a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessController.OpType.html" title="enum in org.apache.hadoop.hbase.security.access">AccessController.OpType</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html#line.515">CHECK_AND_PUT</a></pre> +<pre>public static final <a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessController.OpType.html" title="enum in org.apache.hadoop.hbase.security.access">AccessController.OpType</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html#line.514">CHECK_AND_PUT</a></pre> </li> </ul> <a name="CHECK_AND_DELETE"> @@ -311,7 +311,7 @@ the order they are declared.</div> <ul class="blockList"> <li class="blockList"> <h4>CHECK_AND_DELETE</h4> -<pre>public static final <a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessController.OpType.html" title="enum in org.apache.hadoop.hbase.security.access">AccessController.OpType</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html#line.516">CHECK_AND_DELETE</a></pre> +<pre>public static final <a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessController.OpType.html" title="enum in org.apache.hadoop.hbase.security.access">AccessController.OpType</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html#line.515">CHECK_AND_DELETE</a></pre> </li> </ul> <a name="INCREMENT_COLUMN_VALUE"> @@ -320,7 +320,7 @@ the order they are declared.</div> <ul class="blockList"> <li class="blockList"> <h4>INCREMENT_COLUMN_VALUE</h4> -<pre>public static final <a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessController.OpType.html" title="enum in org.apache.hadoop.hbase.security.access">AccessController.OpType</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html#line.517">INCREMENT_COLUMN_VALUE</a></pre> +<pre>public static final <a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessController.OpType.html" title="enum in org.apache.hadoop.hbase.security.access">AccessController.OpType</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html#line.516">INCREMENT_COLUMN_VALUE</a></pre> </li> </ul> <a name="APPEND"> @@ -329,7 +329,7 @@ the order they are declared.</div> <ul class="blockList"> <li class="blockList"> <h4>APPEND</h4> -<pre>public static final <a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessController.OpType.html" title="enum in org.apache.hadoop.hbase.security.access">AccessController.OpType</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html#line.518">APPEND</a></pre> +<pre>public static final <a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessController.OpType.html" title="enum in org.apache.hadoop.hbase.security.access">AccessController.OpType</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html#line.517">APPEND</a></pre> </li> </ul> <a name="INCREMENT"> @@ -338,7 +338,7 @@ the order they are declared.</div> <ul class="blockListLast"> <li class="blockList"> <h4>INCREMENT</h4> -<pre>public static final <a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessController.OpType.html" title="enum in org.apache.hadoop.hbase.security.access">AccessController.OpType</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html#line.519">INCREMENT</a></pre> +<pre>public static final <a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessController.OpType.html" title="enum in org.apache.hadoop.hbase.security.access">AccessController.OpType</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html#line.518">INCREMENT</a></pre> </li> </ul> </li> @@ -355,7 +355,7 @@ the order they are declared.</div> <ul class="blockListLast"> <li class="blockList"> <h4>type</h4> -<pre>private <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html#line.521">type</a></pre> +<pre>private <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html#line.520">type</a></pre> </li> </ul> </li> @@ -372,7 +372,7 @@ the order they are declared.</div> <ul class="blockList"> <li class="blockList"> <h4>values</h4> -<pre>public static <a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessController.OpType.html" title="enum in org.apache.hadoop.hbase.security.access">AccessController.OpType</a>[] <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html#line.509">values</a>()</pre> +<pre>public static <a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessController.OpType.html" title="enum in org.apache.hadoop.hbase.security.access">AccessController.OpType</a>[] <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html#line.508">values</a>()</pre> <div class="block">Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows: @@ -392,7 +392,7 @@ for (AccessController.OpType c : AccessController.OpType.values()) <ul class="blockList"> <li class="blockList"> <h4>valueOf</h4> -<pre>public static <a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessController.OpType.html" title="enum in org.apache.hadoop.hbase.security.access">AccessController.OpType</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html#line.509">valueOf</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> +<pre>public static <a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessController.OpType.html" title="enum in org.apache.hadoop.hbase.security.access">AccessController.OpType</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html#line.508">valueOf</a>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> <div class="block">Returns the enum constant of this type with the specified name. The string must match <i>exactly</i> an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are @@ -414,7 +414,7 @@ not permitted.)</div> <ul class="blockListLast"> <li class="blockList"> <h4>toString</h4> -<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html#line.528">toString</a>()</pre> +<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../../../src-html/org/apache/hadoop/hbase/security/access/AccessController.OpType.html#line.527">toString</a>()</pre> <dl> <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a><<a href="../../../../../../org/apache/hadoop/hbase/security/access/AccessController.OpType.html" title="enum in org.apache.hadoop.hbase.security.access">AccessController.OpType</a>></code></dd>