Class Base64Helper

java.lang.Object
io.camunda.connector.http.base.authentication.Base64Helper

public class Base64Helper extends Object
  • Method Details

    • buildBasicAuthenticationHeader

      public static String buildBasicAuthenticationHeader(String username, String password)
      Builds a basic authentication header value. The output is a string that can be used as the value of the "Authorization" header. It is in the format "Basic base64(username:password)".
      Parameters:
      username - the username
      password - the password
      Returns:
      the basic authentication header value in the format "Basic base64(username:password)"