Instructions Admin Ui Backend Authentication
Instructions Admin Ui Backend Authentication
TABLE OF CONTENTS
1 INTRODUCTION ............................................................................................................................... 3
2 INSTALLATION / IMPLEMENTATION ............................................................................................. 4
2.1 ICM .................................................................................................................................................... 4
2.2 SAP Web Dispatcher (in front of ABAP Systems) ........................................................................ 4
2.3 Installing Authentication App ......................................................................................................... 4
2.3.1 ABAP OO Class ................................................................................................................................. 4
2.3.2 ICF Service ........................................................................................................................................ 7
3 CONFIGURATION .......................................................................................................................... 13
3.1 Activating the Backend Authentication Application .................................................................. 13
3.2 Configuring ICM to use Backend Authentication ....................................................................... 15
3.3 Configuring ICM / SAP Web Dispatcher to use Backend Authentication ................................ 15
4 ROLES AND AUTHORIZATIONS .................................................................................................. 16
5 REFERENCE SAP NOTES ............................................................................................................. 17
2
ICM / WEB DISPATCHER ADMIN UI BACKEND AUTHENTICATION – STEP-BY-STEP INSTRUCTIONS
1 INTRODUCTION
The Admin UI of the ICM / Web Dispatcher can be used to monitor and administrate the ICM / Web
Dispatcher from the browser. Up to now, usernames and passwords used by the Web Admin Interface are
stored in a file. If ICM / Web Dispatcher is running in front of an SAP NetWeaver Application Server ABAP or
SAP HANA, it is now possible to use their native authentication mechanisms.
If users try to access the admin UI, they are prompted for username and password of their users in the
backend system. If advanced authentication mechanisms (like Single-Sign-On) are available, they can be
used, too (this has to be configured in the backend system).
Backend authentication can be used with ICM and Web Dispatcher release 742 or higher. The backend
system can be on any release, but for SAP_BASIS releases < 740 SP08 additional implementation work is
required (see chapter 2). See chapter 3 for details about how to enable backend authentication.
Additionally backend authentication is available in the HANA Web Dispatcher. There it is enabled by default.
Remark
The following screenshots were taken on a 7.40 system. Although they may look different in older releases,
the basic functionality is identical.
3
ICM / WEB DISPATCHER ADMIN UI BACKEND AUTHENTICATION – STEP-BY-STEP INSTRUCTIONS
2 INSTALLATION / IMPLEMENTATION
This chapter contains a step by step example of how to create an ICF service handler which can be used for
backend authentication.
2.1 ICM
Apply the Support Package referenced in SAP Note 2011786 (SAP_BASIS release 740 SP08) (or higher).
If the ABAP system, that is intended to authenticate the Admin UI users, is on SAP_BASIS release 740
SP08 or higher, no further installation steps are required.
If its release is lower, follow the additional steps described in chapter 2.3.
Go to transaction SE80 and create a new class. Name this class for example
“ZCL_ADMIN_UI_REQUEST_HANDLER”.
4
ICM / WEB DISPATCHER ADMIN UI BACKEND AUTHENTICATION – STEP-BY-STEP INSTRUCTIONS
5
ICM / WEB DISPATCHER ADMIN UI BACKEND AUTHENTICATION – STEP-BY-STEP INSTRUCTIONS
After that go to tab “Methods” and double click on the method HANDLE_REQUEST.
Copy the content of the previously opened file and paste it here.
6
ICM / WEB DISPATCHER ADMIN UI BACKEND AUTHENTICATION – STEP-BY-STEP INSTRUCTIONS
7
ICM / WEB DISPATCHER ADMIN UI BACKEND AUTHENTICATION – STEP-BY-STEP INSTRUCTIONS
8
ICM / WEB DISPATCHER ADMIN UI BACKEND AUTHENTICATION – STEP-BY-STEP INSTRUCTIONS
On the next screen enter “wdisp”, choose “Independent Service” and click on the Okay button.
9
ICM / WEB DISPATCHER ADMIN UI BACKEND AUTHENTICATION – STEP-BY-STEP INSTRUCTIONS
Click on Save.
Click on Back.
10
ICM / WEB DISPATCHER ADMIN UI BACKEND AUTHENTICATION – STEP-BY-STEP INSTRUCTIONS
Repeat the previous steps to create a new sub-element “admin” for the newly created service “wdisp”.
Enter a description (e.g. “SAP Web Dispatcher Admin UI Backend Authentication”).
11
ICM / WEB DISPATCHER ADMIN UI BACKEND AUTHENTICATION – STEP-BY-STEP INSTRUCTIONS
Go to tab “Handler List” and enter the previously implemented ABAP class to the list (in case the correction
instruction has been imported: CL_ADMIN_UI_REQUEST_HANDLER).
Click on Save.
12
ICM / WEB DISPATCHER ADMIN UI BACKEND AUTHENTICATION – STEP-BY-STEP INSTRUCTIONS
3 CONFIGURATION
After the implementation for backend authentication has been installed, further steps are necessary to
activate it. Firstly the backend application which is responsible for the authentication has to be activated and
secondly the Web Dispatcher has to be configured to use backend authentication.
Open transaction SICF, enter the Service Path “/sap/bc/icman/admin” (for the ICM) or “/sap/bc/wdisp/admin”
(for the Web Dispatcher) and click on Execute (or press F8).
13
ICM / WEB DISPATCHER ADMIN UI BACKEND AUTHENTICATION – STEP-BY-STEP INSTRUCTIONS
Click on “Yes”.
14
ICM / WEB DISPATCHER ADMIN UI BACKEND AUTHENTICATION – STEP-BY-STEP INSTRUCTIONS
The subparameter AUTHFILE has to be set to “backend” and PREFIX has to be set to
“/sap/bc/icman/admin”.
Example:
icm/HTTP/admin_0 = PREFIX=/sap/bc/icman/admin,DOCROOT=$(DIR_ROOT)/admin,AUTHFILE=backend
The subparameter AUTHFILE has to be set to “backend” and PREFIX has to be set to
“/sap/bc/wdisp/admin”.
Example:
icm/HTTP/admin_0 = PREFIX=/sap/bc/wdisp/admin,DOCROOT=$(DIR_ROOT)/admin,AUTHFILE=backend
If the Web Dispatcher dispatches requests for multiple systems, the wdisp/system_xx parameters have to be
configured to route requests for /sap/bc/wdisp/admin to the system that should be responsible for the
authentication.
15
ICM / WEB DISPATCHER ADMIN UI BACKEND AUTHENTICATION – STEP-BY-STEP INSTRUCTIONS
Users of the Admin UI of the HANA Web Dispatcher need the role
sap.hana.xs.wdisp.admin::WebDispatcherAdmin (for full administration) or
sap.hana.xs.wdisp.admin::WebDispatcherMonitor (monitoring only).
16
ICM / WEB DISPATCHER ADMIN UI BACKEND AUTHENTICATION – STEP-BY-STEP INSTRUCTIONS
17
www.sap.com