Skip to content

Commit

Permalink
Update ClientBase.java
Browse files Browse the repository at this point in the history
Comment missing a '/'
  • Loading branch information
jimmoffitt authored Aug 15, 2016
1 parent 7475738 commit 4e7cca7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 140,7 @@ public void run() {
}
auth.signRequest(request, postContent);

/PTv2 update: Explicitly adding Authorization header with Base64 encoded username and password.
//PTv2 update: Explicitly adding Authorization header with Base64 encoded username and password.
BASE64Encoder encoder = new BASE64Encoder();
String authToken = auth.getUsername() ":" auth.getPassword();
String authValue = "Basic " encoder.encode(authToken.getBytes());
Expand Down

0 comments on commit 4e7cca7

Please sign in to comment.