Entering content frame

Procedure documentation Deploying the New Login Module

Prerequisites

The new login module is compiled and ready.

An EAR project or a library project is ready for deploying.

Procedure

You have two ways to deploy the new login module:

Adding the Login Module as Part of an Application

...

       1.      Add the new class to your application in the WEB-INF/classes directory.

       2.      In the application’s application-j2ee-engine.xml file, specify the following reference:

<reference reference-type="weak">

      <reference-target target-type="interface">

        security

      </reference-target>

    </reference>

       3.      You have to deploy the EAR file containing the application and the login module.

       4.      Open the EAR project.

       5.      Right-click on the EAR file name and choose Deploy to J2EE Engine:

This graphic is explained in the accompanying text

Adding the Login Module as Part of a Library

When you want to deploy the new login module as a library, in the provider.xml specify the following reference:

<reference type="interface" strength="weak">

     security

</reference>

 

 

Leaving content frame