Interface SSOUserService
- All Known Implementing Classes:
BackofficeSSOService,DefaultSSOService
public interface SSOUserService
SSO service interface for getting/creating user
-
Method Summary
Modifier and TypeMethodDescriptiongetOrCreateSSOUser(String id, String name, Collection<String> roles) Return UserModel for existing user or for the newly created.
-
Method Details
-
getOrCreateSSOUser
Return UserModel for existing user or for the newly created.- Parameters:
id- the user idname- the user nameroles- 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
-