Wednesday, August 29, 2012

How to Implement Application Integrator and Use SSO through User Mapping


How to Implement Application Integrator and Use SSO through User Mapping


Following are the steps to achieve SSO(Single sign on) with User Maping using Application Integrator.

Step1:
Download the AppIntegrator zip file from the SAP Service Market Place .
Here Go to the quick link "solutions" and advance search for the words "using the application integrator" with quotes.Right click on the zip icon of the document named Using the Application Integratorand save it to the local directory. 

Step2:
Upload the com.sap.portal.howtos.webapp.par file into the SAP Enterprise Portal
System Administration -> Support -> Portal Runtime -> Administration Console.
Browse till the location and then Upload.


Step3:
Now, create a new System Template from the com.sap.portal.howtos.webapp.par file
System Administration -> System Configuration -> System Landscape -> Portal Content ->(Right Click) on Any Folder and select New From PAR -> System (from PAR)


Select the radiobutton com.sap.portal.howtos.webapp PAR and then Next.


Select the WebApplication Portal Component and then NEXT.


Enter all the required fields System Name, System ID, etc., and then Next-> Finish->Finish ->Ok


Change the Property Category ‘ Is a Template ‘ to YES , to convert the created System as a System Template so that it can be reused .Save the Changes and close the wizard


Step4:
Create a new System using the above created Web Application Template
System Administration -> System Configuration -> System Landscape -> Portal Content ->Right Click on Any Folder and select New -> System(From Template) -> Refresh the list once.

Select the System Template which was just created i.e., <Name of the system u created in previous step> and then Next
Enter all the required fields System Name, System ID, etc., and then Next -> Finish -> Select Open the Object for Editing then Ok -> From the Property Category select System Definition.


Enter the following and save the changes
Name of the Server : (url for the required webpage )
Protocol of Target system : (whether it is http or https)
URI of Web Application : (login page extension for url)
Step5:

Now go to Property Category again and select UserManagement.

Enter the following and save the changes
Logon Method : UIDPW
User Mapping Type : admin, user
Step6:
From the Display dropdownlistbox select System Aliases.


Enter the System Alias name and ADD it as a default alias and Save the changes made.
And now GOTO the Personalize link and enter the User Mapping fields(Userid for that particular website and password). Save and close the window.

Step7:
Create an iView : Go to Content Administration -> Portal Content -> Portal Content ->Right Click on Any Folder and select New From PAR -> iView.
Select the com.sap.portal.appintegrator.sap PAR file and then Next. Select Generic as the Portal Component and then Next. Enter all the required fields iView Name, iView ID, etc., and then Next -> Finish -> Select Open the Object for Editing-> OK.

From the Property Category , select Content-Generic Launcher -> Enter the Following
System : your system alias name you created through previous step.
URI Template : <System.protocol>://<System.server><System.uri>?action=submitform&user=<User.LogonUid>&password=<User.LogonUid>

Here the ‘user’ , ‘password’ are the attribute names which are fetched from the view/source of the websites’ login page
Save the Changes made and Click on the Preview button in the wizard and You have entered desired site without being asked the username and password.

Hence we have achieved the Single Sign-On through User Mapping.

No comments:

Post a Comment