Package io.gravitee.am.service.impl
Class OrganizationUserServiceImpl
java.lang.Object
io.gravitee.am.service.impl.AbstractUserService
io.gravitee.am.service.impl.OrganizationUserServiceImpl
- All Implemented Interfaces:
CommonUserService,OrganizationUserService
@Component
public class OrganizationUserServiceImpl
extends AbstractUserService
implements OrganizationUserService
- Author:
- David BRASSELY (david.brassely at graviteesource.com), Titouan COMPIEGNE (titouan.compiegne at graviteesource.com), GraviteeSource Team
-
Field Summary
FieldsFields inherited from class io.gravitee.am.service.impl.AbstractUserService
credentialService, LOGGER, userValidator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected OrganizationUserRepositoryio.reactivex.rxjava3.core.CompletableSet the ORGANIZATION_USER role to a newly create user.io.reactivex.rxjava3.core.CompletableSeeOrganizationUserService.setRoles(io.gravitee.am.identityprovider.api.User, User)with null principalio.reactivex.rxjava3.core.Single<User>Methods inherited from class io.gravitee.am.service.impl.AbstractUserService
create, create, delete, enhance, findAll, findByExternalIdAndSource, findById, findByIdIn, findByUsernameAndSource, search, search, search, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.gravitee.am.service.CommonUserService
create, create, delete, enhance, findAll, findByExternalIdAndSource, findById, findByIdIn, findByUsernameAndSource, search, search, search, update
-
Field Details
-
membershipService
-
-
Constructor Details
-
OrganizationUserServiceImpl
public OrganizationUserServiceImpl()
-
-
Method Details
-
getUserRepository
- Specified by:
getUserRepositoryin classAbstractUserService
-
setRoles
Description copied from interface:OrganizationUserServiceSeeOrganizationUserService.setRoles(io.gravitee.am.identityprovider.api.User, User)with null principal- Specified by:
setRolesin interfaceOrganizationUserService- Returns:
-
setRoles
Description copied from interface:OrganizationUserServiceSet the ORGANIZATION_USER role to a newly create user.- Specified by:
setRolesin interfaceOrganizationUserService- 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
-
update
- Specified by:
updatein interfaceCommonUserService
-