accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-3724) DelegationToken uses types not meant for public API
Date Mon, 13 Apr 2015 18:58:13 GMT


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:
>             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

View raw message