You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2015/04/13 20:58:13 UTC
[jira] [Commented] (ACCUMULO-3724) DelegationToken uses types not
meant for public API
[ https://issues.apache.org/jira/browse/ACCUMULO-3724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14492854#comment-14492854 ]
Josh Elser commented on ACCUMULO-3724:
--------------------------------------
Thanks for filing this, Keith.
Would be good to note {{SecurityOperations.getDelegationToken(DelegationTokenConfig)}} is the intended factory-method for obtaining a DelegationToken instance on the class-level javadoc. Looks like I didn't do that the first time around.
> DelegationToken uses types not meant for public API
> ---------------------------------------------------
>
> Key: ACCUMULO-3724
> URL: https://issues.apache.org/jira/browse/ACCUMULO-3724
> Project: Accumulo
> Issue Type: Sub-task
> Reporter: Keith Turner
> Fix For: 1.7.0
>
>
> Noticed that the public method of DelegationToken were using types not intended for public API. Need to refactor it such that method using Hadoop types that are not {{Stable}} and accumulo types not in public API like {{AuthenticationTokenIdentifier}} are not exposed. [~elserj] indicated he intended the object to be contstucted by {{SecurityOperations}}. Could make the class an Abstract/Opaque Type removing lots of methods.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)