Class HvlAuthzUserServiceLdapImpl
java.lang.Object
tr.com.havelsan.javarch.oauth.authz.starter.module.user.logic.HvlAuthzAbstractUserServiceImpl
tr.com.havelsan.javarch.oauth.authz.starter.module.user.logic.HvlAuthzUserServiceLdapImpl
- All Implemented Interfaces:
HvlAuthzUserService
@Primary
@Profile("ldap")
@Service("HvlAuthzUserService")
public class HvlAuthzUserServiceLdapImpl
extends HvlAuthzAbstractUserServiceImpl
The class which extends
HvlAuthzUserServiceImpl
.-
Field Summary
Fields inherited from class tr.com.havelsan.javarch.oauth.authz.starter.module.user.logic.HvlAuthzAbstractUserServiceImpl
USERNAME_FIELD
-
Constructor Summary
ConstructorDescriptionHvlAuthzUserServiceLdapImpl
(HvlAuthVerificationRestService verificationCloudRestService, HvlOAuthUserManager userManager, HvlOAuthUserOperationalManager userOperationalManager, HvlOAuthUserFieldValueGeneratorProvider userFieldValueGeneratorProvider, HvlAuthzSessionService sessionService, HvlAuthzLoggerProducerProvider loggerProducerProvider, HvlOAuthUserPasswordProvider userPasswordProvider, HvlAuthzBundleService bundleService, HvlAuthzInstanceInternalEventPublisher instanceInternalEventPublisher, HvlLdapEntryProvider ldapEntryProvider, HvlAuthzKeyProperties authzKeyProperties, HvlOAuthUserLdapEntryOperation ldapEntryOperation, HvlAuthzLdapProperties ldapProperties) Instantiates a new HvlAuthzUserServiceImpl. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
changePasswordForOtherSystem
(HvlOAuthUserModel user, String password) saveLdapEntry
(@NotNull @Valid HvlOAuthUserLdapPersistModel persistLdapModel) Saves ldap entry with provided persistLdapModel model.update
(@NotNull @Valid HvlOAuthUserModel userModel) Update user.Methods inherited from class tr.com.havelsan.javarch.oauth.authz.starter.module.user.logic.HvlAuthzAbstractUserServiceImpl
changePassword, changePasswordByAdmin, changePasswordUsingVerification, deleteByUuid, getByIntegrationCode, getByUsername, getByUuid, lock, queryClaimDataPage, queryPage, save, saveWithPredefinedValues, unlock
-
Constructor Details
-
HvlAuthzUserServiceLdapImpl
public HvlAuthzUserServiceLdapImpl(HvlAuthVerificationRestService verificationCloudRestService, HvlOAuthUserManager userManager, HvlOAuthUserOperationalManager userOperationalManager, HvlOAuthUserFieldValueGeneratorProvider userFieldValueGeneratorProvider, HvlAuthzSessionService sessionService, HvlAuthzLoggerProducerProvider loggerProducerProvider, HvlOAuthUserPasswordProvider userPasswordProvider, HvlAuthzBundleService bundleService, HvlAuthzInstanceInternalEventPublisher instanceInternalEventPublisher, HvlLdapEntryProvider ldapEntryProvider, HvlAuthzKeyProperties authzKeyProperties, HvlOAuthUserLdapEntryOperation ldapEntryOperation, HvlAuthzLdapProperties ldapProperties) Instantiates a new HvlAuthzUserServiceImpl.- Parameters:
verificationCloudRestService
- the verification cloud rest serviceuserManager
- the user manageruserOperationalManager
- the user operational manageruserFieldValueGeneratorProvider
- the user field value generator providersessionService
- the session serviceloggerProducerProvider
- the logger producer provideruserPasswordProvider
- the user password providerbundleService
- the bundle serviceinstanceInternalEventPublisher
- the instance internal event publisherldapEntryProvider
- the ldap serviceauthzKeyProperties
- the authz key propertiesldapEntryOperation
- the ldap operationldapProperties
- the ldap properties
-
-
Method Details
-
changePasswordForOtherSystem
- Specified by:
changePasswordForOtherSystem
in classHvlAuthzAbstractUserServiceImpl
-
update
Update user.- Specified by:
update
in interfaceHvlAuthzUserService
- Overrides:
update
in classHvlAuthzAbstractUserServiceImpl
- Parameters:
userModel
- the user model- Returns:
- the user model
-
saveLdapEntry
@Transactional(propagation=NEVER) public HvlOAuthUserLdapResultModel saveLdapEntry(@NotNull @Valid @NotNull @Valid HvlOAuthUserLdapPersistModel persistLdapModel) Saves ldap entry with provided persistLdapModel model.- Parameters:
persistLdapModel
- the persist ldap model- Returns:
- the HvlOAuthUserLdapResultModel
-