Configure HTTP basic authentication for JAX-RPC web services with the administrative console
We can configure HTTP basic authentication for JAX-RPC web services with the administrative console.
This task is one of three ways that we can configure HTTP basic authentication. We can also configure HTTP basic authentication with an assembly tool or by modifying the HTTP properties programmatically.
If we choose to configure HTTP basic authentication with the administrative console or an assembly tool, the Web Services Security binding information is modified. We can use the administrative console to configure HTTP basic authentication if we have deployed or installed the web services application into WebSphere Application Server. If we have not installed the web services application, then we can configure the security bindings with an assembly tool. This task assumes that we have deployed the web services application into the WebSphere product. To learn more about deploying web services, see the deploying Web services applications onto application servers information.
If we 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.
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.
Open the administrative 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.
Subtopics
- HTTP basic authentication collection
Use this page to specify a user name and password for transport-level basic authentication security for this port. We can use this configuration when a web service is a client to another web service.
Related concepts
Secure web services Overview of standards and programming models for web services message-level security
Related tasks
Deploy web services applications onto application servers Secure web services applications at the transport level Authenticating web services clients using HTTP basic authentication
HTTP SSL Configuration collection