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.
The J2EE perspective is displayed in the SAP NetWeaver Developer Studio.
The quick car rental application’s projects are displayed in the J2EE Explorer.
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.
Repeat these steps for the J2EE_QuickCarRentalEJB 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.
6. Save the data.
The UME permission methods can be resolved in the Web, EJB and EAR projects.
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.