[
https://issues.apache.org/jira/browse/HBASE-6788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13532747#comment-13532747
]
Gary Helmling commented on HBASE-6788:
--------------------------------------
bq. BlockingAuthenticationService and TokenServer are only used in
TestTokenAuthentication. I think they can be private.
Sure, I'll change.
bq. 'HSA' -> InetSocketAddress or simply ISA.
Good catch, was a copy-n-pasted comment. I'll fix.
bq. Does the above mean similar logic needs to be used in non-test code ?
This is only required in the test code because we are exposing the
TokenProvider coprocessor endpoint as a full fledged RPC server. In the
non-test endpoint implementation, this is already provided in
HRegionServer.execService() and HRegion.execService().
> Convert AuthenticationProtocol to protocol buffer service
> ---------------------------------------------------------
>
> Key: HBASE-6788
> URL: https://issues.apache.org/jira/browse/HBASE-6788
> Project: HBase
> Issue Type: Sub-task
> Components: Coprocessors
> Reporter: Gary Helmling
> Assignee: Gary Helmling
> Priority: Blocker
> Fix For: 0.96.0
>
> Attachments: HBASE-6788_2.patch, HBASE-6788_3.patch,
> HBASE-6788_4.patch, HBASE-6788.patch
>
>
> With coprocessor endpoints now exposed as protobuf defined services, we
> should convert over all of our built-in endpoints to PB services.
> AccessControllerProtocol was converted as part of HBASE-5448, but the
> authentication token provider still needs to be changed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira