[ 
https://issues.apache.org/jira/browse/HADOOP-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12492066
 ] 

Doug Cutting commented on HADOOP-1298:
--------------------------------------

> It might even sense to pass the client context when the session is 
> established [ ...]

Yes, that would make sense, if we had sessions.  But the current RPC framework 
does not have any notion of session.  So we either need to add it to RPC, or 
make it a part of this protocol.  We're likely to want user validation for 
other protocols, so it does make sense to consider somehow adding it to the 
framework.  But, for now, explicitly passing a context as a parameter is 
probably right.  Longer-term, to implement sessions we might use a Proxy that 
wraps a raw RPC proxy, keeping a context with the client that's passed to the 
server on each call.  Does that sound reasonable?  Or should we add sessions 
before users?

> adding user info to file
> ------------------------
>
>                 Key: HADOOP-1298
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1298
>             Project: Hadoop
>          Issue Type: New Feature
>          Components: dfs, fs
>            Reporter: Kurtis Heimerl
>         Attachments: hadoop-user-munncha.patch, hadoop-user-munncha.patch
>
>
> I'm working on adding a permissions model to hadoop's DFS. The first step is 
> this change, which associates user info with files. Following this I'll 
> assoicate permissions info, then block methods based on that user info, then 
> authorization of the user info. 
> So, right now i've implemented adding user info to files. I'm looking for 
> feedback before I clean this up and make it offical. 
> I wasn't sure what release, i'm working off trunk. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to