@@ -77,8 +77,6 @@ public class AppConfig {
77
77
private String restCertFile ;
78
78
private String restCertPassword ;
79
79
private String restExternalName ;
80
- @ Deprecated
81
- private Authentication restAuthentication ;
82
80
private Integer restPort = DEFAULT_PORT ;
83
81
private Integer testRestPort ;
84
82
@@ -92,8 +90,6 @@ public class AppConfig {
92
90
private String appServicesCertFile ;
93
91
private String appServicesCertPassword ;
94
92
private String appServicesExternalName ;
95
- @ Deprecated
96
- private Authentication appServicesAuthentication ;
97
93
98
94
// These can all be set to override the default names that are generated off of the "name" attribute.
99
95
private String groupName = DEFAULT_GROUP ;
@@ -293,7 +289,6 @@ public DatabaseClient newTestDatabaseClient() {
293
289
294
290
public DatabaseClientConfig newRestDatabaseClientConfig (int port ) {
295
291
DatabaseClientConfig config = new DatabaseClientConfig (getHost (), port , getRestAdminUsername (), getRestAdminPassword ());
296
- config .setAuthentication (getRestAuthentication ());
297
292
config .setSecurityContextType (restSecurityContextType );
298
293
config .setSslHostnameVerifier (getRestSslHostnameVerifier ());
299
294
config .setSslContext (getRestSslContext ());
@@ -323,7 +318,6 @@ public DatabaseClient newSchemasDatabaseClient() {
323
318
public DatabaseClient newAppServicesDatabaseClient (String databaseName ) {
324
319
DatabaseClientConfig config = new DatabaseClientConfig (getHost (), getAppServicesPort (), getAppServicesUsername (), getAppServicesPassword ());
325
320
config .setDatabase (databaseName );
326
- config .setAuthentication (getAppServicesAuthentication ());
327
321
config .setSecurityContextType (appServicesSecurityContextType );
328
322
config .setSslHostnameVerifier (getAppServicesSslHostnameVerifier ());
329
323
config .setSslContext (getAppServicesSslContext ());
@@ -521,20 +515,6 @@ public void setGroupName(String groupName) {
521
515
this .groupName = groupName ;
522
516
}
523
517
524
- /**
525
- * @return the MarkLogic Java Client {@code Authentication} object that is used for authenticating with a REST API
526
- * server for loading modules
527
- */
528
- @ Deprecated
529
- public Authentication getRestAuthentication () {
530
- return restAuthentication ;
531
- }
532
-
533
- @ Deprecated
534
- public void setRestAuthentication (Authentication authentication ) {
535
- this .restAuthentication = authentication ;
536
- }
537
-
538
518
/**
539
519
* As of 3.3.0, this now returns the first ConfigDir in the List of ConfigsDir that this class now maintains.
540
520
*
@@ -862,16 +842,6 @@ public void setAppServicesSslHostnameVerifier(SSLHostnameVerifier appServicesSsl
862
842
this .appServicesSslHostnameVerifier = appServicesSslHostnameVerifier ;
863
843
}
864
844
865
- @ Deprecated
866
- public Authentication getAppServicesAuthentication () {
867
- return appServicesAuthentication ;
868
- }
869
-
870
- @ Deprecated
871
- public void setAppServicesAuthentication (Authentication appServicesAuthentication ) {
872
- this .appServicesAuthentication = appServicesAuthentication ;
873
- }
874
-
875
845
public String getReplicaForestDataDirectory () {
876
846
return replicaForestDataDirectory ;
877
847
}
0 commit comments