Show TOC Start of Content Area

Procedure documentation Creating and Implementing the Configuration File  Locate the document in its SAP Library structure

Use

In this step you create the LoginModuleConfiguration.xml file which the system requires.

Procedure

...

       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.

Caution

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.

Next Step

Preparing the Login Module for Deployment

End of Content Area