Configuring the Login Module on the AS Java 
In this step you configure the usage of the login module on the AS Java.
The AS Java is up and running.
You are logged on to the SAP NetWeaver Administrator with administrative privileges.
Using the SAP NetWeaver Administrator, go to .
From the List of Policy Configurations select the policy configuration to which you want to apply your login module.
In the Policy Configuration Details section, choose the Authentication Stacksub-tab. Choose Edit.
In the Login Modules sub-section, choose the Add button, with the quick info text Add login module to the policy configuration.
Select MyLoginModule from the dropdown list. Choose Add.
Configure the relevant login module flag in the policy configuration's authentication stack.
Note
The position of the login modules in the stack determines the order in which the system will execute the login modules. Use Move Up or Move Down to specify the position of your login module.
Save your changes.
Caution
Before undeploying a login module, remove the login module from all policy configurations that use it. Otherwise the policy configurations will not work properly after the undeploy.
The application you selected is now configured to use your login module.