← Back to plugin index

HTTP Request Header Value Provider

Description
Provides the value of an HTTP header from the current HTTP request.

Only the current request is considered. In case the same header was set in a previous request, but not the current one, the value provider will provide no value.

Type name
HttpRequestHeaderStringValueProvider
Class
com.airlock.iam.common.application.configuration.valueprovider.HttpRequestHeaderStringValueProviderConfig
May be used by
Properties
Header Name (headerName)
Description
The name of the HTTP header of which the value will be extracted from the current request.
Attributes
String
Mandatory
Allowed Header Value Pattern (allowedHeaderValuePattern)
Description
In case a header is present, its value has to match the configured Regex pattern. Otherwise, no value will be returned.
Attributes
RegEx
Optional
Default value
[a-zA-Z0-9 ._-]+
YAML Template (with default values)

type: HttpRequestHeaderStringValueProvider
id: HttpRequestHeaderStringValueProvider-xxxxxx
displayName: 
comment: 
properties:
  allowedHeaderValuePattern: [a-zA-Z0-9 ._-]+
  headerName: