[ 
https://issues.apache.org/jira/browse/HBASE-9866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13819668#comment-13819668
 ] 

Jimmy Xiang commented on HBASE-9866:
------------------------------------

Can we 1. change doas to doAs to be aligned with other Hadoop components, 2, 
use the configuration in RESTServlet instance instead of the servlet context, 
3, throw an exception if the feature is disabled while someone passed in doAs 
parameter to avoid confusing? Thanks.

> Support the mode where REST server authorizes proxy users
> ---------------------------------------------------------
>
>                 Key: HBASE-9866
>                 URL: https://issues.apache.org/jira/browse/HBASE-9866
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Devaraj Das
>            Assignee: Devaraj Das
>             Fix For: 0.96.1
>
>         Attachments: 9866-1.txt, 9866-2.txt
>
>
> In one use case, someone was trying to authorize with the REST server as a 
> proxy user. That mode is not supported today. 
> The curl request would be something like (assuming SPNEGO auth) - 
> {noformat}
> curl -i --negotiate -u : http://<HOST>:<PORT>/version/cluster?doas=<USER>
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to