[
https://issues.apache.org/jira/browse/ACCUMULO-1312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13721402#comment-13721402
]
ASF subversion and git services commented on ACCUMULO-1312:
-----------------------------------------------------------
Commit 99da5641c28784c7b717cce6749673863c2ec8cf in branch refs/heads/master
from [~ctubbsii]
[ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=99da564 ]
ACCUMULO-1312 use Credentials object to avoid serializing as long as
possible
> Don't cache credentials in client-side Connector
> ------------------------------------------------
>
> Key: ACCUMULO-1312
> URL: https://issues.apache.org/jira/browse/ACCUMULO-1312
> Project: Accumulo
> Issue Type: Bug
> Components: client
> Affects Versions: 1.5.0
> Reporter: Christopher Tubbs
> Assignee: Christopher Tubbs
> Fix For: 1.6.0
>
>
> AuthenticationToken objects are Destroyable. However, this cannot be
> exercised properly in the client code, because the Connector immediately
> serializes the credentials and stores them as long as the Connector lives.
> It should be possible to destroy a token after creating a Connector, and
> thereby forcing any further RPC calls initiated by that Connector to fail to
> authenticate. This means that serialization on the client side to a
> TCredentials object needs to occur just before the RPC call.
--
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