+

Search Tips   |   Advanced Search

 

Configure HTTP basic authentication with an assembly tool

 

This topic explains how to configure HTTP basic authentication with an assembly tool.

You can configure HTTP basic authentication with assembly tools provided with WAS.

 

Overview

This task is one of three ways that you can configure HTTP basic authentication. You can also configure HTTP basic authentication with the console or by modifying the HTTP properties programmatically.

If you choose to configure the HTTP basic authentication with an assembly tool or with the console , the Web services security binding information is modified. You can use an assembly tool to configure HTTP basic authentication before you deploy or install the Web services application into WebSphere Application Server. This task assumes that you have not 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. 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.

To configure HTTP basic authentication, use the WAS tools to modify the binding information.

 

Procedure

  1. Start an assembly tool. See "Starting WAS Toolkit" in the Application Server Toolkit documentation for more information.

  2. If you have not done so already, configure the assembly tool to work on J2EE modules. Verify the J2EE and Web categories are enabled. See "Configuring WAS Toolkit" in the Application Server Toolkit documentation for more information.

  3. Migrate the WAR files that are created with the Assembly Toolkit, Application Assembly Tool (AAT) or a different tool to an IBM assembly tool. To migrate files, import your WAR files to the assembly tool. See "Importing WAR files" in the Application Server Toolkit documentation for more information.

  4. Configure the HTTP basic authentication in the Web Services Client Port Binding page for a Web service or a Web service client. The Web Services Client Port Binding page is available after double-clicking the client deployment descriptor file.



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
HTTP basic authentication collection