@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 PathEncryptionImplRuntimeDelegatable extends PathEncryptionImpl
| Modifier and Type | Class and Description |
|---|---|
static class |
PathEncryptionImplRuntimeDelegatable.ArgumentsCaptor |
| Constructor and Description |
|---|
PathEncryptionImplRuntimeDelegatable(OverridesRegistry context,
SymmetricPathEncryptionService bucketPathEncryptionService,
PrivateKeyService privateKeyService) |
| Modifier and Type | Method and Description |
|---|---|
Uri |
decrypt(UserIDAuth forUser,
Uri path)
Simply pipes
SymmetricPathEncryptionService and PrivateKeyService to decrypt URI |
Uri |
encrypt(UserIDAuth forUser,
Uri path)
Simply pipes
SymmetricPathEncryptionService and PrivateKeyService to encrypt URI |
static void |
overrideWith(OverridesRegistry context,
Function<PathEncryptionImplRuntimeDelegatable.ArgumentsCaptor,PathEncryptionImpl> ctorCaptor)
This is a typesafe function to register overriding class into context.
|
@Inject public PathEncryptionImplRuntimeDelegatable(@Nullable OverridesRegistry context, SymmetricPathEncryptionService bucketPathEncryptionService, PrivateKeyService privateKeyService)
context - Context class to search for overrides.public Uri encrypt(UserIDAuth forUser, Uri path)
PathEncryptionImplSymmetricPathEncryptionService and PrivateKeyService to encrypt URIencrypt in interface PathEncryptionencrypt in class PathEncryptionImplpublic Uri decrypt(UserIDAuth forUser, Uri path)
PathEncryptionImplSymmetricPathEncryptionService and PrivateKeyService to decrypt URIdecrypt in interface PathEncryptiondecrypt in class PathEncryptionImplpublic static void overrideWith(OverridesRegistry context, Function<PathEncryptionImplRuntimeDelegatable.ArgumentsCaptor,PathEncryptionImpl> ctorCaptor)
Copyright © 2019. All rights reserved.