In this step you create the LoginModuleConfiguration.xml file which the system requires.
...
1. Select the java project name. Open the context menu and choose New → Other.
2. In the dialog that appears, select XML → XML.
3. Choose Next.
4. Specify LoginModuleConfiguration as the name of the file.
The name of the XML file must be LoginModuleConfiguration. Otherwise the system will not recognize the file.
5. Choose Finish.
6. Open the LoginModuleConfiguration file.
7. Select the Source sub-tab.
8. Enter the following text:
<login-modules> <!-- holds all login modules -->
<login-module> <!-- describes one login module -->
<display-name>MyLoginModule</display-name> <!-- holds the display name of the login module -->
<class-name>com.sap.example.MyLoginModuleClass</class-name> <!-- holds the full path to the login module class -->
<description>testing</description> <!-- holds the description of the login module -->
<options> <!-- holds all the options of the login module -->
<option> <!-- holds the name/value pair of an option --> <name>user_name_prefix</name> <value>Administrator</value> </option>
</options> </login-module> </login-modules> |
9. Save the file.