Class 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 the AlfrescoRpcAuthenticator.
    • Constructor Detail

      • UserMapping

        public UserMapping()
        Default constructor for container initialisation.
      • UserMapping

        public UserMapping​(String name,
                           int uid,
                           int gid)
        The Constructor.
        Parameters:
        name - the name
        uid - the uid
        gid - the gid
    • Method Detail

      • getName

        public String getName()
        Gets the name.
        Returns:
        the name
      • setBeanName

        public void setBeanName​(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