Package io.gravitee.am.service
Interface OrganizationUserService
- All Superinterfaces:
CommonUserService
- All Known Implementing Classes:
OrganizationUserServiceImpl
- Author:
- David BRASSELY (david.brassely at graviteesource.com), Titouan COMPIEGNE (titouan.compiegne at graviteesource.com), GraviteeSource Team
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.CompletableSet the ORGANIZATION_USER role to a newly create user.io.reactivex.rxjava3.core.CompletableSeesetRoles(io.gravitee.am.identityprovider.api.User, User)with null principalMethods inherited from interface io.gravitee.am.service.CommonUserService
create, create, delete, enhance, findAll, findByExternalIdAndSource, findById, findByIdIn, findByUsernameAndSource, search, search, search, update, update
-
Method Details
-
setRoles
Set the ORGANIZATION_USER role to a newly create user.- Parameters:
principal- of the user (may be null if creation comes from the Console action, not from a login)user- on who the default role must be applied
-
setRoles
SeesetRoles(io.gravitee.am.identityprovider.api.User, User)with null principal- Parameters:
user-- Returns:
-