If the Web services that you want to consume require authentication and you want to authenticate by using a service user and not using Single Sign-On (SSO), you can provide this authentication in entities called user accounts. When you create a user account, you specify different authentication methods in the same entity. At a later stage, you can reuse and assign this account to one or more than one Web service on a provider system. When you assign the user account to a Web service, the system uses the authentication credentials in the account to invoke the Web service at runtime.
More information about the provided authentication during design time: Creating Service Groups
Log on to the SAP NetWeaver Administrator.
Choose
Alternatively, you can use the quick link /useraccmngt as follows:
http://<host>:<port>/nwa/useraccmngt
The User Account Management screen opens.
Choose the Maintenance tab.
Choose New.
On the General step, enter a name and description of the user account, and then choose Next.
On the Credentials step, enter the following settings:
To set basic authentication over the HTTP protocol, enter the user name and password in the provided fields.
To set authentication over the Web Service Security protocol, proceed as follows:
In the Keystore View for WSSE dropdown menu, specify a key storage of signatures.
In the Private Key for WSSE dropdown menu, choose the exact authentication key.
To set secure SSL communication over the HTTPS protocol, proceed as follows:
In the Keystore View for HTTPS dropdown menu, specify a key storage of signatures.
In the Private Key for HTTPS dropdown menu, choose the exact authentication key.
You can specify one or more authentication methods in the user account. An application on your client system can consume the Web service to which the account is assigned, if at least one of the authentication methods is allowed an authentication mechanism for the service endpoint of the Web service.
Choose Finish.
Choose a user account from the table and then choose Edit.
Enter your changes in the fields which you want to edit.
Choose Save.
From the list of user accounts, choose an entry and then to activate or deactivate the account, choose Activate or Deactivate respectively.
The table below outlines the effect of the possible changes you can make to the status of a user account.
User Action |
System Response |
---|---|
You set the status of a user account to Active. |
|
You set the status of a user account to Inactive. |
When you deactivate user accounts, the system considers them deleted. However, the account and its assignments keep existing in the system, and you can activate and use it again at a later stage.
|
Choose a user account from the table.
Choose Delete.
To confirm, choose OK.
The system creates a user account with status Active. As a next step you can assign the account. The assignment specifies a set of Service Groups and the corresponding Web services which are running on the same provider system.
More information: Assigning User Accounts