Kasper Sørensen created METAMODEL-221:
-----------------------------------------

             Summary: HdfsResource support for authentication per instance
                 Key: METAMODEL-221
                 URL: https://issues.apache.org/jira/browse/METAMODEL-221
             Project: Apache MetaModel
          Issue Type: Improvement
    Affects Versions: 4.4.1
            Reporter: Kasper Sørensen


Today the HdfsResource is implemented without any specifics regarding 
authentication. With the Hadoop {code}UserGroupInformation{code} class the user 
can authenticate statically before using HdfsResource, which should work fine.

But in many scenarios it's not desirable to authenticate statically. It might 
be because the application is acting on behalf of multiple users, or it might 
simply be to avoid leaving this authentication token in static scope for other 
parts of the application to use it.

So add to HdfsResource a way where credentials and authentication method etc. 
can be provided. Remember that HdfsResource must be serializable so this 
information should probably be marked as transient (for security purposes) and 
it should be possible to apply/set it after constructing the HdfsResource (for 
the purpose of "reviving" deserialized objects).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to