Securing a REST API by using HTTP Basic Authentication
Authenticate HTTP clients that want to call a REST API by enabling HTTP Basic Authentication.
Before you begin
About this task
You can authenticate HTTP clients that want to call a REST API by enabling HTTP Basic Authentication. IBM Integration Bus supports several authentication providers that can be used for this purpose, including Lightweight Directory Access Protocol (LDAP), any WS-Trust V1.3 compliant Security Token Service (STS), and Tivoli® Federated Identity Manager.
Procedure
To enable HTTP Basic Authentication for a REST API by using Lightweight Directory Access Protocol (LDAP), any WS-Trust V1.3 compliant Security Token Service (STS), or Tivoli Federated Identity Manager, complete the following steps:
Results
What to do next
You
can also complete the following optional tasks:
- Secure your REST API by using HTTPS, see Securing a REST API by using HTTPS.
- If your REST API is going to be used by client-side code that is running in a web browser, you might have to configure Cross-Origin Resource Sharing, see Permitting web browsers to access a REST API by using Cross-Origin Resource Sharing.