Implementing authentication for the Rent-a-Car example
To enable authentication for the Rent-a-Car example, update its configuration files as follows:
-
In the first container (where you run the Locator feature and the Rent-a-Car services), update <container>/etc/org.talend.esb.locator.cfg with the user information:
authentication.name=slservice authentication.password=spassword
-
Then update <container>/etc/users.properties with the role information:
sluser=upassword,sl_read slservice=spassword,sl_maintain
-
In the second container (where you run the Rent-a-Car client API), update <container>/etc/org.talend.esb.locator.cfg and add:
authentication.name=sluser authentication.password=upassword