Class DefaultUserManager

    • Constructor Detail

      • DefaultUserManager

        public DefaultUserManager​(org.gcube.common.clients.delegates.ProxyDelegate<org.gcube.common.gxrest.request.GXWebTargetAdapterRequest> delegate)
    • Method Detail

      • createUser

        public void createUser​(String userId)
                        throws org.gcube.common.storagehub.model.exceptions.StorageHubException
        Specified by:
        createUser in interface UserManagerClient
        Throws:
        org.gcube.common.storagehub.model.exceptions.StorageHubException
      • removeUser

        public void removeUser​(String userId)
                        throws org.gcube.common.storagehub.model.exceptions.StorageHubException
        Specified by:
        removeUser in interface UserManagerClient
        Throws:
        org.gcube.common.storagehub.model.exceptions.StorageHubException
      • getUsers

        public List<String> getUsers()
                              throws org.gcube.common.storagehub.model.exceptions.StorageHubException
        Specified by:
        getUsers in interface UserManagerClient
        Throws:
        org.gcube.common.storagehub.model.exceptions.StorageHubException
      • exists

        public boolean exists​(String user)
                       throws org.gcube.common.storagehub.model.exceptions.StorageHubException
        Specified by:
        exists in interface UserManagerClient
        Throws:
        org.gcube.common.storagehub.model.exceptions.StorageHubException