Skip to content
Commit 74ea3033 authored by michael.berlin.xtreemfs@gmail.com's avatar michael.berlin.xtreemfs@gmail.com
Browse files

client: Refactored UserMapping design.

So far, UserMappingUnix and UserMappingGridmap* were the same. Now, there are two different classes:
- SystemUserMapping
- UserMapping (e.g. GridmapGlobus)

A UserMapping allows to transform between local and global names e.g., transform the DN of a certificate to the login name "mberlin".

A SystemUserMapping only has the call "GetUserCredentialsForCurrentUser" now which fills a UserCredentials object with the username and groups of the current user. If an additional UserMapping is registered at the SystemUserMapping, it will also use that UserMapping to transform the names e.g., the user "mberlin" will be transformed to his respective DN entry.

This commit breaks the FuseAdapter. Later it will be adapted to this change.

git-svn-id: https://xtreemfs.googlecode.com/svn/trunk@3581 f8528748-c2c0-11dd-ba5c-d3b7c2b3b534
parent aa171f06
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment