InternalUserStoreValidatorValve

Valve for validating username and password against the internal user store.

Valve will fail if username or password is incorrect.

Properties

Name Description Default value Mandatory Supports property expansion
username Username Yes Yes
password_param_name Password Yes No

Example Configuration

{
  "name": "InternalUserStoreValidatorValve",
  "enabled": "true",
  "config": {
    "username": "{{request.api_username}}",
    "password_param_name": "{{request.api_password}}"
  }
}

The value {{request.api_username}} and {{request.api_password}} is being picked up from the HTTP request against the API.