Class HttpBasicAuthenticationClientFilterHeaplet

  • All Implemented Interfaces:
    Heaplet

    public class HttpBasicAuthenticationClientFilterHeaplet
    extends GenericHeaplet
    Creates and initializes a Filter supporting the injection of a Basic Authorization header in the request for the configured credentials.

    The HttpBasicAuthenticationClientFilterHeaplet has the following configuration:

     {
          "type": "HttpBasicAuthenticationClientFilter",
          "config": {
            "username"              : expression       [REQUIRED - the 'username'. ]
            "passwordSecretId"      : expression       [REQUIRED - secret ID used to obtain the 'password'. ]
            "secretsProvider"       : secrets provider [REQUIRED - secrets provider used to obtain "password secret id". ]
            "urlEncodeCredentials"  : expression       [OPTIONAL - {@literal true} if the credentials should each be
                                                                   URL-encoded prior to base64 encoding - default is
                                                                   false. ]
          }
     }
     
     
    • Constructor Detail

      • HttpBasicAuthenticationClientFilterHeaplet

        public HttpBasicAuthenticationClientFilterHeaplet()
    • Method Detail