accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Turner (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-1314) Support destroyable map for creating authentication token
Date Thu, 18 Apr 2013 21:20:13 GMT


Keith Turner commented on ACCUMULO-1314:

If we had something like DestroyableMap, a user could use it in the following way.


   DestroyableMap tokenProps = new DestroyableMap();
   tokenProps.put("password", getPassword());
   PasswordToken token = new PasswordToken();

   //use token to do accumulo stuff


If AuthenticationToken were called Token, then I think we could should call DestroyableMap
TokenProperties instead.   But I think AuthenticationTokenProperties is a bit long.  Could
make it a static inner class of AuthenticationToken.  Then it could be AuthenticationToken.Propeties
or just Propeties in the code.

> Support destroyable map for creating authentication token
> ---------------------------------------------------------
>                 Key: ACCUMULO-1314
>                 URL:
>             Project: Accumulo
>          Issue Type: Sub-task
>          Components: master, tserver
>            Reporter: Keith Turner
>            Assignee: John Vines
>             Fix For: 1.5.0
> A java properties object can be used to create Authentication tokens.  Properties use
Strings which are immutable.  It would be nice if something that allowed memory to be zeroed
were used.

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:

View raw message