Show TOC Start of Content Area

Procedure documentationCreate and Configure a Login Module  Locate the document in its SAP Library structure

Use

If you need to secure an application you are developing, you can do this using your own login module. Developing your own login module can enable you to maximize customization of authentication to your needs.

By the end of this tutorial, you will be able to:

      Use the SAP NetWeaver Developer Studio to develop your own login module.

      Deploy the login module to the AS Java.

      Configure the login module on the AS Java.

Prerequisites

System, Installed Applications, and Authorizations

      SAP NetWeaver Developer Studio is installed.

      AS Java is installed.

      Java EE 5 is installed.

      You have administrative privileges to manage the configuration of the login modules on the AS Java.

      You have created a user for testing the login module after its deployment.

Knowledge

      Java programming language and JAAS authentication model.

      Managing the views and perspectives on the SAP NetWeaver Developer Studio.

Procedure

       1.      Creating and implementing the login module:

                            a.      Creating a new Java project.

                            b.      Setting required classpaths to compile the Java project.

                            c.      Implementing the login module source code.

                            d.      Exporting the login module class in a JAR file.

More information: Creating and Implementing the Login Module.

       2.      Creating and implementing the configuration file.

More information: Creating and Implementing the Configuration File.

       3.      Preparing the login module for deployment:

                            a.      Creating a new enterprise application.

                            b.      Exporting a deployable EAR file.

                            c.      Adding the JAR file and the configuration file to the EAR file.

More information: Preparing the Login Module for Deployment.

       4.      Deploying the EAR to the AS Java.

More information: Deploying the EAR to the AS Java.

       5.      Configuring the login module on the AS Java.

More information: Configuring the Login Module on the AS Java.

For an example login module, see: Example Login Module.

Next Step

Creating and Implementing the Login Module

 

 

End of Content Area