@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,
ProfileStoreService storeProfile,
StorageKeyStoreOperations storageKeyStoreOper,
DocumentKeyStoreOperations keyStoreOper,
BucketAccessService access,
StorageCheckService checkService,
StorageWriteService writeService,
GsonSerde serde,
DFSConfig dfsConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
createAllAllowableKeystores(UserIDAuth user,
UserPrivateProfile profile) |
void |
createDocumentKeystore(UserIDAuth user,
UserPrivateProfile profile) |
void |
createStorageKeystore(UserIDAuth user) |
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.
|
@Inject public ProfileRegistrationServiceImplRuntimeDelegatable(@Nullable OverridesRegistry context, ProfileStoreService storeProfile, StorageKeyStoreOperations storageKeyStoreOper, DocumentKeyStoreOperations 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 createAllAllowableKeystores(UserIDAuth user, UserPrivateProfile profile)
createAllAllowableKeystores in interface ProfileRegistrationServicecreateAllAllowableKeystores in class ProfileRegistrationServiceImplpublic void createDocumentKeystore(UserIDAuth user, UserPrivateProfile profile)
createDocumentKeystore in interface ProfileRegistrationServicecreateDocumentKeystore in class ProfileRegistrationServiceImplpublic void createStorageKeystore(UserIDAuth user)
createStorageKeystore in interface ProfileRegistrationServicecreateStorageKeystore 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.