We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8dfc3d5 commit 00a8153Copy full SHA for 00a8153
1 file changed
ingester-protocol/src/main/java/io/greptime/models/AuthInfo.java
@@ -55,7 +55,9 @@ public static AuthInfo noAuthorization() {
55
* @return the base64 encoded string
56
*/
57
public String base64HeaderValue() {
58
- String encoded = Base64.getEncoder().encodeToString(String.format("%s:%s", this.username, this.password).getBytes(StandardCharsets.UTF_8));
+ String encoded = Base64.getEncoder()
59
+ .encodeToString(
60
+ String.format("%s:%s", this.username, this.password).getBytes(StandardCharsets.UTF_8));
61
return String.format("Basic %s", encoded);
62
}
63
0 commit comments