You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2013/06/10 18:19:21 UTC

[jira] [Commented] (ACCUMULO-891) Authorizations not actually immutable

    [ https://issues.apache.org/jira/browse/ACCUMULO-891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13679599#comment-13679599 ] 

Christopher Tubbs commented on ACCUMULO-891:
--------------------------------------------

Due to the thrift issue, I can make the list immutable, but not the actual ByteBuffers.
                
> Authorizations not actually immutable
> -------------------------------------
>
>                 Key: ACCUMULO-891
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-891
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 1.4.2
>            Reporter: Mike Drob
>            Assignee: Christopher Tubbs
>            Priority: Minor
>              Labels: newbie
>             Fix For: 1.6.0
>
>         Attachments: ACCUMULO-891.v1.patch, AuthorizationsTest.java
>
>
> Instances of {{Authorizations}} are not actually immutable, despite the API making it seem like they are. A user can make changes that will write-through to the backing data by using the ByteBuffer getter.
> This is a potential issue if a trusted application acts as a connection broker between accumulo and untrusted clients.

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