Defines authentication credentials.

This statement allows setting credentials to access any application supporting basic authentication (WWW-Authenticate). This statement can be used in a login transaction where the caller provides credentials to access the target application.
Credentials set for this statement override the connector’s credentials property. The statement must be executed before any other statement possibly needing the same credentials. This statement is usually set as part of a Start transaction handler (onTransactionStarted event handler).

Property Type Category Description
Comment String standard Describes the object comment to include in the documentation report.
This property generally contains an explanation about the object.
Is active boolean standard Defines whether the statement is active.
Password JS expression standard Defines the user password.
WWW-Authenticate password. May be any JavaScript expression using transaction variables.
User JS expression standard Defines the user name.
WWW-Authenticate user. May be any JavaScript expression using transaction variables.
Force basic boolean expert Force sending Basic header with those credentials for each HTML connector request.
If set to true, all requests sent by the HTML connector for which these credentials were positioned send credentials in the Basic header.