Skip to content

Commit 76b9c26

Browse files
committed
Fix code example for field level encryption. (#1733)
Closes #1613.
1 parent 3130f06 commit 76b9c26

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/asciidoc/fieldlevelencryption.adoc

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ protected CryptoManager cryptoManager() {
4343

4444
CryptoManager cryptoManager = DefaultCryptoManager.builder().decrypter(provider.decrypter())
4545
.defaultEncrypter(provider.encrypterForKey("myKey")).build();
46+
return cryptoManager;
4647
}
4748
```
4849

@@ -82,6 +83,7 @@ static class Config extends AbstractCouchbaseConfiguration {
8283
8384
CryptoManager cryptoManager = DefaultCryptoManager.builder().decrypter(provider.decrypter())
8485
.defaultEncrypter(provider.encrypterForKey("myKey")).build();
86+
return cryptoManager;
8587
}
8688
8789
}

0 commit comments

Comments
 (0)