Creating and Implementing the Configuration File
Use
In this step you create the LoginModuleConfiguration.xml file which the system requires.
Procedure
-
Select the java project name. Open the context menu and choose
-
In the dialog that appears, select
-
Choose Next.
-
Specify LoginModuleConfiguration as the name of the file.
-
Choose Finish .
-
Open the LoginModuleConfiguration file.
-
Select the Source sub-tab.
-
Enter the following code:
<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> -
Save the file.

