Package org.alfresco.filesys.auth.nfs
Class UserMapping
- java.lang.Object
-
- org.alfresco.filesys.auth.nfs.UserMapping
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
public class UserMapping extends Object implements org.springframework.beans.factory.BeanNameAware
Represents a user mapping for theAlfrescoRpcAuthenticator.
-
-
Constructor Summary
Constructors Constructor Description UserMapping()Default constructor for container initialisation.UserMapping(String name, int uid, int gid)The Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetGid()Gets the gid.StringgetName()Gets the name.intgetUid()Gets the uid.voidsetBeanName(String name)voidsetGid(int gid)Sets the gid.voidsetUid(int uid)Sets the uid.
-
-
-
Constructor Detail
-
UserMapping
public UserMapping()
Default constructor for container initialisation.
-
UserMapping
public UserMapping(String name, int uid, int gid)
The Constructor.- Parameters:
name- the nameuid- the uidgid- the gid
-
-
Method Detail
-
getName
public String getName()
Gets the name.- Returns:
- the name
-
setBeanName
public void setBeanName(String name)
- Specified by:
setBeanNamein interfaceorg.springframework.beans.factory.BeanNameAware
-
getUid
public int getUid()
Gets the uid.- Returns:
- the uid
-
setUid
public void setUid(int uid)
Sets the uid.- Parameters:
uid- the new uid
-
getGid
public int getGid()
Gets the gid.- Returns:
- the gid
-
setGid
public void setGid(int gid)
Sets the gid.- Parameters:
gid- the new gid
-
-