Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client Java API Programmer's Guide | Working with Basic Authentication | Configuring the Broker Java Client for Basic Authentication | Configuring Basic Authentication by Using System Properties
 
Configuring Basic Authentication by Using System Properties
The following table helps you enable basic authentication by using the system properties on Java clients.
To set this basic authentication property...
Set this system property...
User name
BROKER_CONNECTION_BASIC_AUTH_USER
As shown here:
System.setProperty("BROKER_CONNECTION_
BASIC_AUTH_USER","sag");
Password
BROKER_CONNECTION_BASIC_AUTH_PASSWORD
As shown here:
System.setProperty("BROKER_CONNECTION_
BASIC_AUTH_PASSWORD "," SoftwareAG123");