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/02/03 02:28:12 UTC

[jira] [Created] (ACCUMULO-1027) Consolidate the thrift objects for Authentication information

Christopher Tubbs created ACCUMULO-1027:
-------------------------------------------

             Summary: Consolidate the thrift objects for Authentication information
                 Key: ACCUMULO-1027
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1027
             Project: Accumulo
          Issue Type: Sub-task
            Reporter: Christopher Tubbs


Rather than add a new thrift object for each possible type of authentication token (I saw 3 created for ACCUMULO-259), we should just make our token interface extend Writable, and use a single thrift object to carry the user principal, token type, and binary serialized token, in our RPC calls.

I think the now deprecated "AuthInfo" object was acceptable for this purpose, though with different fields and behavior than before. However, since that object was in the public API in 1.4.x, it needs to remain as is, until it is phased out of the public API. A similar object, (perhaps 'Authentication'), containing the user principal, token type, and binary serialized token, should be created for this purpose instead, for the RPC calls.

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