Interface SSOUserService

All Known Implementing Classes:
BackofficeSSOService, DefaultSSOService

public interface SSOUserService
SSO service interface for getting/creating user
  • Method Details

    • getOrCreateSSOUser

      UserModel getOrCreateSSOUser(String id, String name, Collection<String> roles)
      Return UserModel for existing user or for the newly created.
      Parameters:
      id - the user id
      name - the user name
      roles - user roles
      Returns:
      existing or newly created user model
      Throws:
      IllegalArgumentException - in case the user cannot be mapped due to roles being unknown or disallowed