Skip to content

Commit

Permalink
Enable preemptive for csw requests with credentials (geonetwork#5497) (
Browse files Browse the repository at this point in the history
…geonetwork#7706)

* Remove non required data-translate directive usage in gnMetadataGroupUpdater directive

* Enable preemptive in CSW http requests with credentials. Fixes geonetwork#5492

Co-authored-by: josegar74 <[email protected]>
  • Loading branch information
fxprunayre and josegar74 authored Feb 7, 2024
1 parent 1eb773c commit 029ccd3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ public Element execute() throws Exception {

public void setCredentials(String username, String password) {
client.setCredentials(username, password);
client.setPreemptiveBasicAuth(true);
}

//---------------------------------------------------------------------------
Expand Down

0 comments on commit 029ccd3

Please sign in to comment.