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 java.lang.Object implements org.springframework.beans.factory.BeanNameAwareRepresents a user mapping for theAlfrescoRpcAuthenticator.
-
-
Constructor Summary
Constructors Constructor Description UserMapping()Default constructor for container initialisation.UserMapping(java.lang.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.java.lang.StringgetName()Gets the name.intgetUid()Gets the uid.voidsetBeanName(java.lang.String name)voidsetGid(int gid)Sets the gid.voidsetUid(int uid)Sets the uid.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets the name.- Returns:
- the name
-
setBeanName
public void setBeanName(java.lang.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
-
-