All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.molgenis.data.security.user.UserService Maven / Gradle / Ivy

There is a newer version: 8.4.5
Show newest version
package org.molgenis.data.security.user;

import java.util.List;
import javax.annotation.CheckForNull;
import javax.annotation.Nullable;
import org.molgenis.data.security.auth.User;

public interface UserService {
  List getUsers();

  /** Returns e-mail addresses of super users */
  List getSuEmailAddresses();

  /** Returns the given user */
  @Nullable
  @CheckForNull
  User getUser(String username);

  /**
   * Find a user by it's email.
   *
   * @return the user or null if not found
   */
  User getUserByEmail(String email);

  /** Update user */
  void update(User user);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy