Show TOC Entering content frame

Procedure documentation Including the UME Libraries Locate the document in its SAP Library structure

Use

The UME permission methods are included in the com.sap.security.api.sda library.

Add this library to each of the Web, EJB and EAR projects.

Prerequisites

This graphic is explained in the accompanying textThis graphic is explained in the accompanying text

The J2EE perspective is displayed in the SAP NetWeaver Developer Studio.

This graphic is explained in the accompanying textThis graphic is explained in the accompanying text

The quick car rental application’s projects are displayed in the J2EE Explorer.

Procedure

Adding the library to the Web project

...

       1.      Select the J2EE_QuickCarRentalWeb project, open the context menu with the right mouse button and choose Add/Remove Additional Libraries.

The J2EE libraries/interfaces/service dialog appears.

       2.      Select com.sap.security.api.sda and choose OK.

       3.      Confirm the message that you also have to add the libraries to the EAR project with OK.

Adding the library to the EJB project

Repeat these steps for the J2EE_QuickCarRentalEJB project.

Adding the library to the EAR project

The procedure for adding the library to the EAR project is slightly different:

...

       1.      Expand the J2EE_QuickCarRentalEAR project.

       2.      Open the application-j2ee-engine.xml file by selecting it with a double-click.

The properties for the file appear in the multi-page editor.

       3.      To add the library references, in the General tab page, select the References element and choose Add.

       4.      Choose Select library/interface/service from the dialog that appears.

       5.      Select com.sap.security.api.sda from the J2EE libraries/interfaces/service dialog and choose OK.

The library is added as a reference to the EAR project as shown below.

This graphic is explained in the accompanying text

       6.      Save the data.

Result

The UME permission methods can be resolved in the Web, EJB and EAR projects.

Next Step:

If you are working with the J2EE-based tutorial, see Protecting Access to the JSP Using Authentication and UME Permissions.

If you are working with the Web Dynpro tutorial, see Activating Authentication on the Web Dynpro Application.

 

 

Leaving content frame