Configure HTTP basic authentication with the console
This topic explains how to configure HTTP basic authentication with the console.
This task is one of three ways that you can configure HTTP basic authentication. You can also configure HTTP basic authentication with an assembly tool or by modifying the HTTP properties programmatically.
If you choose to configure HTTP basic authentication with the console or an assembly tool, the Web services security binding information is modified. You can use the console to configure HTTP basic authentication if you have deployed or installed the Web services application into WAS. If you have not installed the Web services application, then you can configure the security bindings with an assembly tool. This task assumes that you have deployed the Web services application into the WebSphere product.
If you configure HTTP basic authentication programmatically, the properties are configured in the Stub or Call instance. The values set programmatically take precedence over the values defined in the binding. However, you only can programmatically configure HTTP proxy authentication.
Overview
The HTTP basic authentication that is discussed in this topic is orthogonal to WS-Security and is distinct from basic authentication that WS-Security supports. WS-Security supports basic authentication token, not HTTP basic authentication.
Configure HTTP basic authentication with the following steps provided in this task section.
Procedure
Open the console.
- Click Applications > Enterprise Applications > application_instance > Manage Modules > module_instance > Web services: Client security bindings.
- Click HTTP Basic Authentication to access the HTTP basic authentication panel. Enter the values in the HTTP Basic Authentication panel.
Results
You have configured the HTTP basic authentication.
HTTP basic authentication collection
Related tasks
Securing Web services for V5.x applications based on WS-Security
Securing Web services applications using JAX-RPC at the message level
Securing Web services applications at the transport level
Authenticating Web services clients using HTTP basic authentication
Related Reference
HTTP SSL Configuration collection