Package alpine.model

Class LdapUser

    • Constructor Detail

      • LdapUser

        public LdapUser()
    • Method Detail

      • getId

        public long getId()
        Description copied from interface: UserPrincipal
        The database id of the principal.
        Specified by:
        getId in interface UserPrincipal
        Returns:
        a long of the unique id
      • setId

        public void setId​(long id)
        Description copied from interface: UserPrincipal
        Specifies the database id of the principal.
        Specified by:
        setId in interface UserPrincipal
        Parameters:
        id - a long of the unique id
      • getDN

        public String getDN()
      • setDN

        public void setDN​(String dn)
      • setUsername

        public void setUsername​(String username)
        Description copied from interface: UserPrincipal
        Specifies the username of the principal.
        Specified by:
        setUsername in interface UserPrincipal
        Parameters:
        username - the username of the principal
      • getTeams

        public List<Team> getTeams()
        Description copied from interface: UserPrincipal
        A list of teams the principal is a member of.
        Specified by:
        getTeams in interface UserPrincipal
        Returns:
        a List of Team objects
      • setTeams

        public void setTeams​(List<Team> teams)
        Description copied from interface: UserPrincipal
        Specifies the teams the principal is a member of.
        Specified by:
        setTeams in interface UserPrincipal
        Parameters:
        teams - a List of Team objects
      • getEmail

        public String getEmail()
        Description copied from interface: UserPrincipal
        The email address of the principal.
        Specified by:
        getEmail in interface UserPrincipal
        Returns:
        a String of the email address
      • setEmail

        public void setEmail​(String email)
        Description copied from interface: UserPrincipal
        Specifies the email address of the principal.
        Specified by:
        setEmail in interface UserPrincipal
        Parameters:
        email - the email address of the principal
      • setPermissions

        public void setPermissions​(List<Permission> permissions)
        Description copied from interface: UserPrincipal
        Specifies the permissions the principal should have.
        Specified by:
        setPermissions in interface UserPrincipal
        Parameters:
        permissions - a List of Permission objects