Show TOC

Logon Using User ID and Password on the AS JavaLocate this document in the navigation structure

Use

The AS Java uses the JAAS login modules BasicPasswordLoginModule to perform the authentication with user ID and password. You can add these login modules to the login module stacks of the policy configurations of applications to enable authentication with user ID and password.

The AS Java uses BasicPasswordLoginModule for applications that specify in their deployment descriptors the use of basic or form authentication.

Note

For the case when the User Management Engine uses an ABAP user store, the BasicPasswordLoginModule enables you to log on users that provide an AS ABAP alias. Adding an alias for a user account is possible only from the ABAP back-end user store. For more information, see the Logon Data Tab Page section in the User and Role Administration of AS ABAP documentation.

The AS Java supports Single Sign-On (SSO) to back-end systems using user ID and password with user mapping. For more information, see Configuring User Mapping with User ID and Password on an AS Java .

Procedure

Use the authentication management functions of the SAP NetWeaver Administrator to configure user ID and password authentication. For more information, see Managing Authentication Policy .

  1. Go to the Components tab.

  2. Select the policy configuration for the component to use logon with user ID and password from the list of policy configurations. Choose the Edit button.

  3. In the Authentication Stack table for the chosen policy configuration, add the login module that corresponds to the user ID and password authentication type that you use

    For basic or form authentication, choose BasicPasswordLoginModule .

    • To enable logon with an ABAP alias, configure the LogonWithAlias option for the BasicPasswordLoginModule .

      The possible values for this option are true or false . The default value for this option is false . If you change this value to true , then entered user IDs are regarded as ABAP aliases.

  4. Save the configuration changes.

Result

Users who access applications in a policy configuration that uses authentication with a user ID and password are prompted to enter their user ID and password on initial access.