Skip to content

Commit db912cd

Browse files
authored
Update encryption terminology (#1039)
JAVA-4749
1 parent a620490 commit db912cd

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

driver-core/src/main/com/mongodb/AutoEncryptionSettings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
import static java.util.Collections.unmodifiableMap;
3232

3333
/**
34-
* The client-side automatic encryption settings. Client side encryption enables an application to specify what fields in a collection
34+
* The client-side automatic encryption settings. In-use encryption enables an application to specify what fields in a collection
3535
* must be encrypted, and the driver automatically encrypts commands sent to MongoDB and decrypts responses.
3636
* <p>
3737
* Automatic encryption is an enterprise only feature that only applies to operations on a collection. Automatic encryption is not

driver-core/src/main/com/mongodb/MongoClientSettings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ public ServerApi getServerApi() {
740740
/**
741741
* Gets the auto-encryption settings.
742742
* <p>
743-
* Client side encryption enables an application to specify what fields in a collection must be
743+
* In-use encryption enables an application to specify what fields in a collection must be
744744
* encrypted, and the driver automatically encrypts commands and decrypts results.
745745
* </p>
746746
* <p>

driver-core/src/main/com/mongodb/client/model/CreateCollectionOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ public Bson getEncryptedFields() {
336336
* @param encryptedFields the encrypted fields document
337337
* @return this
338338
* @since 4.7
339-
* @mongodb.driver.manual core/security-client-side-encryption/ Client side encryption
339+
* @mongodb.driver.manual core/security-client-side-encryption/ In-use encryption
340340
* @mongodb.server.release 6.0
341341
*/
342342
public CreateCollectionOptions encryptedFields(@Nullable final Bson encryptedFields) {

driver-core/src/main/com/mongodb/client/model/DropCollectionOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* Options for dropping a collection
2525
*
2626
* @mongodb.driver.manual reference/command/drop/ Drop Collection
27-
* @mongodb.driver.manual core/security-client-side-encryption/ Client side encryption
27+
* @mongodb.driver.manual core/security-client-side-encryption/ In-use encryption
2828
* @since 4.7
2929
*/
3030
public class DropCollectionOptions {
@@ -50,7 +50,7 @@ public Bson getEncryptedFields() {
5050
* @param encryptedFields the encrypted fields document
5151
* @return this
5252
* @since 4.7
53-
* @mongodb.driver.manual core/security-client-side-encryption/ Client side encryption
53+
* @mongodb.driver.manual core/security-client-side-encryption/ In-use encryption
5454
*/
5555
public DropCollectionOptions encryptedFields(@Nullable final Bson encryptedFields) {
5656
this.encryptedFields = encryptedFields;

driver-scala/src/main/scala/org/mongodb/scala/AutoEncryptionSettings.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ package org.mongodb.scala
1818
import com.mongodb.{ AutoEncryptionSettings => JAutoEncryptionSettings }
1919

2020
/**
21-
* The client-side automatic encryption settings. Client side encryption enables an application to specify what fields in a collection
21+
* The client-side automatic encryption settings. In-use encryption enables an application to specify what fields in a collection
2222
* must be encrypted, and the driver automatically encrypts commands sent to MongoDB and decrypts responses.
2323
*
2424
* Automatic encryption is an enterprise only feature that only applies to operations on a collection. Automatic encryption is not

driver-scala/src/main/scala/org/mongodb/scala/package.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ package object scala extends ClientSessionImplicits with ObservableImplicits wit
361361
type MongoConnectionPoolClearedException = com.mongodb.MongoConnectionPoolClearedException
362362

363363
/**
364-
* The client-side automatic encryption settings. Client side encryption enables an application to specify what fields in a collection
364+
* The client-side automatic encryption settings. In-use encryption enables an application to specify what fields in a collection
365365
* must be encrypted, and the driver automatically encrypts commands sent to MongoDB and decrypts responses.
366366
*
367367
* Automatic encryption is an enterprise only feature that only applies to operations on a collection. Automatic encryption is not

0 commit comments

Comments
 (0)