Authenticating the probe using REST or WebSocket
The probe can authenticate with the client by passing the username and password with every request it makes to the service as an HTTP basic authentication header.
To specify HTTP header options to use in all HTTP requests, use the httpHeaders property in the restWebSocketTransport.properties file. The httpHeader property allows you to specify a list of (comma-separated) HTTP header options.
authenticate the probe, include
the list of header options. For example, to authenticate using the
Me and the password
include in the value set for the httpHeader property
the following header option:
probe encodes the
Username:Password credentials that
follow the single whitespace after
Basic as a Base-64
encoded string. The probe prefixes to the resulting string
a space, and passes this as an authorization header with every request.
The probe passes this as an authorization header with every request.