Configure the client for basic authentication: specifying the method
Before you begin
Important distinction between V5.x and v6.x applicationsNote: The information in this article supports v5.x applications only that are used with WAS v6.x. The information does not apply to v6.0.x applications.
BasicAuth refers to the user ID and password of a valid user in the registry of the target server. BasicAuth information can be collected in many ways including through an administrative console prompt, a standard in (Stdin) prompt, or specified in the bindings, which prevents user interaction. For more information on BasicAuth authentication, see: BasicAuth authentication method.
Overview
Attention: WAS supports nonce (randomly generated token) with BasicAuth authentication. For more information, see Nonce.Complete the following steps to specify BasicAuth as the authentication method:
Procedure
- Launch an assembly tool. For more information on the assembly tools, see Assembly tools.
- Click Windows > Open perspective > Other > J2EE.
- Click Application Client Projects > appname > appClientModule > META-INF.
- Right-click the application-client.xml file, select Open with > Deployment descriptor editor.
- Click the WS Extensions tab, which is located at the bottom of the deployment descriptor editor within the assembly tool.
- Expand the Request sender configuration > Login configuration section. The only valid login configuration choices for a pure client are BasicAuth and Signature.
- Select BasicAuth to authenticate the client using a user ID and a password. This user ID and password must be specified in the target user registry. The other choice, Signature, attempts to authenticate the client using the certificate used to digitally sign the message.
What to do next
For more information on getting started with the Web services client editor within the assembly tool, see either of the following topics:
- Configuring the client security bindings using an assembly tool
- Configuring the security bindings on a server acting as a client using the administrative console
After you specify the BasicAuth authentication method, specify how to collect the authentication information. See Configuring the client for basic authentication: collecting the authentication information.
See also
BasicAuth authentication method
See Also
Nonce, a randomly generated token
Related Tasks
Configuring the client for basic authentication: collecting the authentication information
Configuring the client for identity assertion: specifying the method
Configuring the client for identity assertion: collecting the authentication method
Configuring the client for LTPA token authentication: specifying LTPA token authentication
Configuring the client for LTPA token authentication: collecting the authentication method information
Configuring the client security bindings using an assembly tool
Configuring the security bindings on a server acting as a client using the administrative console
Configuring nonce for the application level
Configuring nonce for the server level
Configuring nonce for the cell level