public class ProfileRegistrationServiceImpl extends Object implements ProfileRegistrationService
| Constructor and Description |
|---|
ProfileRegistrationServiceImpl(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) |
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 ProfileRegistrationServiceImpl(ProfileStoreService storeProfile, StorageKeyStoreOperations storageKeyStoreOper, DocumentKeyStoreOperations keyStoreOper, BucketAccessService access, StorageCheckService checkService, StorageWriteService writeService, GsonSerde serde, DFSConfig dfsConfig)
public void registerPublic(CreateUserPublicProfile profile)
DFSConfig, 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 ProfileRegistrationServicepublic void registerPrivate(CreateUserPrivateProfile profile)
DFSConfig, 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 ProfileRegistrationServicepublic void createAllAllowableKeystores(UserIDAuth user, UserPrivateProfile profile)
createAllAllowableKeystores in interface ProfileRegistrationServicepublic void createDocumentKeystore(UserIDAuth user, UserPrivateProfile profile)
createDocumentKeystore in interface ProfileRegistrationServicepublic void createStorageKeystore(UserIDAuth user)
createStorageKeystore in interface ProfileRegistrationServicepublic void registerUsingDefaults(UserIDAuth user)
registerUsingDefaults in interface ProfileRegistrationServiceuser - User authorization to registerCopyright © 2019. All rights reserved.