Class SCIMDriver

    • Constructor Detail

      • SCIMDriver

        protected SCIMDriver()
        Constructor
    • Method Detail

      • getGroupMemberGroupIds

        public String[] getGroupMemberGroupIds​(String groupId)
      • initFromProperties

        public void initFromProperties​(org.silverpeas.kernel.bundle.SettingBundle rs)
        Virtual method that performs extra initialization from a properties file. To overload by the class who need it.
        Specified by:
        initFromProperties in interface DomainDriver
        Overrides:
        initFromProperties in class AbstractDomainDriver
        Parameters:
        rs - name of resource file
      • removeUser

        public void removeUser​(String userId)
      • resetPassword

        public void resetPassword​(UserDetail user,
                                  String password)
      • resetEncryptedPassword

        public void resetEncryptedPassword​(UserDetail user,
                                           String encryptedPassword)
      • deleteUser

        public void deleteUser​(String userId)
      • updateUserFull

        public void updateUserFull​(UserFull uf)
        Update the data inside domain <DOMAIN_NAME>_user table
        Parameters:
        uf - a UserFull object
      • updateUserDetail

        public void updateUserDetail​(UserDetail ud)
      • getUser

        public UserDetail getUser​(String specificId)
                           throws AdminException
        Description copied from interface: DomainDriver
        Retrieves common user information from database.
        Parameters:
        specificId - The user id as stored in the database.
        Returns:
        The full User object that contain ALL user information.
        Throws:
        AdminException
      • listUsers

        public List<UserDetail> listUsers​(Collection<String> specificIds)
                                   throws AdminException
        Description copied from interface: DomainDriver
        Retrieves the common user information from database against the given identifiers.
        Parameters:
        specificIds - The user ids as stored in the database.
        Returns:
        a list of common User object.
        Throws:
        AdminException
      • getUserFull

        public UserFull getUserFull​(String id)
                             throws AdminException
        Description copied from interface: DomainDriver
        Retrieves common user information from database with the additional data.
        Parameters:
        id - The user id as stored in the database.
        Returns:
        The full User object that contain ALL user information.
        Throws:
        AdminException
      • listUserFulls

        public List<UserFull> listUserFulls​(Collection<String> specificIds)
                                     throws AdminException
        Description copied from interface: DomainDriver
        Retrieves common user information with the additional data from database against the given identifiers.
        Parameters:
        specificIds - The user ids as stored in the database.
        Returns:
        a list of full User object.
        Throws:
        AdminException
      • getUserMemberGroupIds

        public String[] getUserMemberGroupIds​(String specificId)
      • getUsersBySpecificProperty

        public UserDetail[] getUsersBySpecificProperty​(String propertyName,
                                                       String propertyValue)
      • removeGroup

        public void removeGroup​(String groupId)
      • deleteGroup

        public void deleteGroup​(String groupId)
      • updateGroup

        public void updateGroup​(GroupDetail group)
      • getAllRootGroups

        public GroupDetail[] getAllRootGroups()
      • addUserInGroup

        public void addUserInGroup​(String userId,
                                   String groupId)
      • removeUserFromGroup

        public void removeUserFromGroup​(String userId,
                                        String groupId)
      • getUserAttributes

        public List<String> getUserAttributes()