@@ -77,8 +77,6 @@ public class AppConfig {
7777 private String restCertFile ;
7878 private String restCertPassword ;
7979 private String restExternalName ;
80- @ Deprecated
81- private Authentication restAuthentication ;
8280 private Integer restPort = DEFAULT_PORT ;
8381 private Integer testRestPort ;
8482
@@ -92,8 +90,6 @@ public class AppConfig {
9290 private String appServicesCertFile ;
9391 private String appServicesCertPassword ;
9492 private String appServicesExternalName ;
95- @ Deprecated
96- private Authentication appServicesAuthentication ;
9793
9894 // These can all be set to override the default names that are generated off of the "name" attribute.
9995 private String groupName = DEFAULT_GROUP ;
@@ -293,7 +289,6 @@ public DatabaseClient newTestDatabaseClient() {
293289
294290 public DatabaseClientConfig newRestDatabaseClientConfig (int port ) {
295291 DatabaseClientConfig config = new DatabaseClientConfig (getHost (), port , getRestAdminUsername (), getRestAdminPassword ());
296- config .setAuthentication (getRestAuthentication ());
297292 config .setSecurityContextType (restSecurityContextType );
298293 config .setSslHostnameVerifier (getRestSslHostnameVerifier ());
299294 config .setSslContext (getRestSslContext ());
@@ -323,7 +318,6 @@ public DatabaseClient newSchemasDatabaseClient() {
323318 public DatabaseClient newAppServicesDatabaseClient (String databaseName ) {
324319 DatabaseClientConfig config = new DatabaseClientConfig (getHost (), getAppServicesPort (), getAppServicesUsername (), getAppServicesPassword ());
325320 config .setDatabase (databaseName );
326- config .setAuthentication (getAppServicesAuthentication ());
327321 config .setSecurityContextType (appServicesSecurityContextType );
328322 config .setSslHostnameVerifier (getAppServicesSslHostnameVerifier ());
329323 config .setSslContext (getAppServicesSslContext ());
@@ -521,20 +515,6 @@ public void setGroupName(String groupName) {
521515 this .groupName = groupName ;
522516 }
523517
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-
538518 /**
539519 * As of 3.3.0, this now returns the first ConfigDir in the List of ConfigsDir that this class now maintains.
540520 *
@@ -862,16 +842,6 @@ public void setAppServicesSslHostnameVerifier(SSLHostnameVerifier appServicesSsl
862842 this .appServicesSslHostnameVerifier = appServicesSslHostnameVerifier ;
863843 }
864844
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-
875845 public String getReplicaForestDataDirectory () {
876846 return replicaForestDataDirectory ;
877847 }
0 commit comments