Interface CustomlyBuiltDatasafeServices.Builder
- Enclosing interface:
- CustomlyBuiltDatasafeServices
@Builder
public static interface CustomlyBuiltDatasafeServices.Builder
Binds DFS connection (for example filesystem, minio) and system storage and access
-
Method Summary
Modifier and TypeMethodDescriptionbuild()config(de.adorsys.datasafe.directory.api.config.DFSConfig config) Binds (configures) system root uri - where user profiles will be located and system access to open (but not to read key) keystore.encryption(de.adorsys.datasafe.encrypiton.api.types.encryption.EncryptionConfig encryptionConfig) All encryption stuff configuration - which keystore to use - how to encrypt keys in keystore - which types of keys to create - what kind of encryption to use when encrypting document contentoverridesRegistry(de.adorsys.datasafe.types.api.context.overrides.OverridesRegistry overridesRegistry) Provides class overriding functionality, so that you can disable i.e.storage(de.adorsys.datasafe.storage.api.StorageService storageService) Binds (configures) all storage operations - not necessary to callstorageListafter.
-
Method Details
-
config
@BindsInstance CustomlyBuiltDatasafeServices.Builder config(de.adorsys.datasafe.directory.api.config.DFSConfig config) Binds (configures) system root uri - where user profiles will be located and system access to open (but not to read key) keystore. -
storage
@BindsInstance CustomlyBuiltDatasafeServices.Builder storage(de.adorsys.datasafe.storage.api.StorageService storageService) Binds (configures) all storage operations - not necessary to callstorageListafter. -
overridesRegistry
@BindsInstance CustomlyBuiltDatasafeServices.Builder overridesRegistry(@Nullable de.adorsys.datasafe.types.api.context.overrides.OverridesRegistry overridesRegistry) Provides class overriding functionality, so that you can disable i.e. path encryption- Parameters:
overridesRegistry- Map with class-overrides (note: you can override classes that are annotated withRuntimeDelegate)
-
encryption
@BindsInstance CustomlyBuiltDatasafeServices.Builder encryption(@Nullable de.adorsys.datasafe.encrypiton.api.types.encryption.EncryptionConfig encryptionConfig) All encryption stuff configuration - which keystore to use - how to encrypt keys in keystore - which types of keys to create - what kind of encryption to use when encrypting document content -
build
CustomlyBuiltDatasafeServices build()- Returns:
- Customized Datasafe services.
-