org.alfresco.filesys.auth.nfs
Class UserMapping

java.lang.Object
  extended by org.alfresco.filesys.auth.nfs.UserMapping
All Implemented Interfaces:
org.springframework.beans.factory.BeanNameAware

public class UserMapping
extends java.lang.Object
implements org.springframework.beans.factory.BeanNameAware

Represents a user mapping for the AlfrescoRpcAuthenticator.


Constructor Summary
UserMapping()
          Default constructor for container initialisation.
UserMapping(java.lang.String name, int uid, int gid)
          The Constructor.
 
Method Summary
 int getGid()
          Gets the gid.
 java.lang.String getName()
          Gets the name.
 int getUid()
          Gets the uid.
 void setBeanName(java.lang.String name)
           
 void setGid(int gid)
          Sets the gid.
 void setUid(int uid)
          Sets the uid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserMapping

public UserMapping()
Default constructor for container initialisation.


UserMapping

public UserMapping(java.lang.String name,
                   int uid,
                   int gid)
The Constructor.

Parameters:
name - the name
uid - the uid
gid - the gid
Method Detail

getName

public java.lang.String getName()
Gets the name.

Returns:
the name

setBeanName

public void setBeanName(java.lang.String name)
Specified by:
setBeanName in interface org.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


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.