addBasicAuthenticationAction

Description

Add a basic authentication (RFC 7617) to incoming exchanges with an username and a password

Evaluation scope

Evaluation scope defines the timing where this filter will be applied.

requestHeaderReceivedFromClient This scope occurs the moment fluxzy parsed the request header receiveid from client

YAML configuration name

addBasicAuthenticationAction

Settings

The following table describes the customizable properties available for this action:

Property Type Description DefaultValue
username string
password string

Example of usage

The following examples apply this action to any exchanges

Add a basic authentication with username lilou and password multipass.

rules:
- filter:
    typeKind: AnyFilter
  actions:
  - typeKind: AddBasicAuthenticationAction
    username: lilou
    password: multipass

.NET reference

View definition of AddBasicAuthenticationAction for .NET integration.

See also

This action has no related action


Go back to list