java.lang.Object
org.qubership.atp.auth.springbootstarter.entities.Project
All Implemented Interfaces:
Serializable

public class Project extends Object implements Serializable
See Also:
  • Constructor Details

    • Project

      public Project()
  • Method Details

    • getUserGroup

      public Group getUserGroup(UUID userId, Set<String> userRoles)
      Return Group for currently authenticated user by project.
      Parameters:
      userId - to check groups
      userRoles - Set of user role names
      Returns:
      Group the most privileged Group the User belongs to.