@Generated(value="de.adorsys.datasafe.runtimedelegate.RuntimeDelegateGenerator", comments="This class performs functionality delegation based on contextClass content. If contextClass contains overriding class - it will be used.") public class ProfileRegistrationServiceImplRuntimeDelegatable extends ProfileRegistrationServiceImpl
| Modifier and Type | Class and Description |
|---|---|
static class |
ProfileRegistrationServiceImplRuntimeDelegatable.ArgumentsCaptor |
| Constructor and Description |
|---|
ProfileRegistrationServiceImplRuntimeDelegatable(OverridesRegistry context,
KeyStoreOperations keyStoreOper,
BucketAccessService access,
StorageCheckService checkService,
StorageWriteService writeService,
GsonSerde serde,
DFSConfig dfsConfig) |
| Modifier and Type | Method and Description |
|---|---|
static void |
overrideWith(OverridesRegistry context,
Function<ProfileRegistrationServiceImplRuntimeDelegatable.ArgumentsCaptor,ProfileRegistrationServiceImpl> ctorCaptor)
This is a typesafe function to register overriding class into context.
|
void |
registerPrivate(CreateUserPrivateProfile profile)
Register users' private profile at the location specified by
DFSConfig, creates keystore and publishes
public keys, but only if keystore doesn't exist. |
void |
registerPublic(CreateUserPublicProfile profile)
Register users' public profile at the location specified by
DFSConfig, overwrites it if exists. |
void |
registerUsingDefaults(UserIDAuth user)
IMPORTANT: For cases when user profile is stored on S3 without object locks, this requires some global
synchronization due to eventual consistency or you need to supply globally unique username on registration.
|
void |
updateReadKeyPassword(UserIDAuth forUser,
ReadKeyPassword newPassword) |
@Inject public ProfileRegistrationServiceImplRuntimeDelegatable(@Nullable OverridesRegistry context, KeyStoreOperations keyStoreOper, BucketAccessService access, StorageCheckService checkService, StorageWriteService writeService, GsonSerde serde, DFSConfig dfsConfig)
context - Context class to search for overrides.public void registerPublic(CreateUserPublicProfile profile)
ProfileRegistrationServiceImplDFSConfig, overwrites it if exists.
IMPORTANT: For cases when user profile is stored on S3 without object locks, this requires some global
synchronization due to eventual consistency or you need to supply globally unique username on registration.registerPublic in interface ProfileRegistrationServiceregisterPublic in class ProfileRegistrationServiceImplpublic void registerPrivate(CreateUserPrivateProfile profile)
ProfileRegistrationServiceImplDFSConfig, creates keystore and publishes
public keys, but only if keystore doesn't exist.
IMPORTANT: For cases when user profile is stored on S3 without object locks, this requires some global
synchronization due to eventual consistency or you need to supply globally unique username on registration.registerPrivate in interface ProfileRegistrationServiceregisterPrivate in class ProfileRegistrationServiceImplpublic void updateReadKeyPassword(UserIDAuth forUser, ReadKeyPassword newPassword)
updateReadKeyPassword in interface ProfileRegistrationServiceupdateReadKeyPassword in class ProfileRegistrationServiceImplpublic void registerUsingDefaults(UserIDAuth user)
ProfileRegistrationServiceImplregisterUsingDefaults in interface ProfileRegistrationServiceregisterUsingDefaults in class ProfileRegistrationServiceImpluser - User authorization to registerpublic static void overrideWith(OverridesRegistry context, Function<ProfileRegistrationServiceImplRuntimeDelegatable.ArgumentsCaptor,ProfileRegistrationServiceImpl> ctorCaptor)
Copyright © 2019. All rights reserved.