Skip to Content

This weblog explains the steps to achieve Single Sign-On with User Mapping using Application Integrator.

In order to get started you will need to 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 Integrator

and save it to the local directory.

Unzip the AppIntegrator zip file to find two files

1. com.sap.portal.howtos.webapp.par file
2. HowToUseAppIntegrator_en.pdf file

Firstly, Let me explain the steps in a Birds’ Eye View
Step 1 : Upload the PAR file of Application Integrator to the Enterprise Portal
Step 2 : Create a System Template from the uploaded PAR file
Step 3 : Create a new System using the System Template created in Step 2
Step 4 : Create an iView

Step-By-Step Guide

Step 1 :

Upload the com.sap.portal.howtos.webapp.par file into the SAP Enterprise Portal

System Administration -> Support -> Portal Runtime -> Administration Console

image

Step 2 :

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

image

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

image

Select the WebApplication Portal Component and then NEXT

image

Enter all the required fields System Name, System ID, etc., and then NEXT

image

Click FINISH 

image

Select Open the Object for Editing  then OK

image

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

image

Step 3 :

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

image

Select the System Template which was just created i.e., Web Application and then NEXT

image

Enter all the required fields System Name, System ID, etc., and then NEXT

image

Click FINISH

image

Select Open the Object for Editing  then OK

image

From the Property Category select System Definition

image

Enter the following and save the changes

Name of the Server : Login.yahoo.com

Protocol of Target system : http

URI of Web Application  : /config/login

image

From the Property Category select UserManagement

Enter the following and save the changes

Logon Method : UIDPW

User Mapping Type :  admin, user

image

From the Display dropdownlistbox select System Aliases

image

Enter the System Alias name and ADD it as a default alias and Save the changes made.

image

And now GOTO the Personalize link and enter the User Mapping fields(Yahoo userid and password). Save and close the window

image

Step 4 :

Create an iView
Content Administration -> Portal Content -> Portal Content ->Right Click on Any Folder and select New From PAR -> iView 

image

Select the com.sap.portal.appintegrator.sap PAR file and then NEXT

image

Select Generic as the Portal Component and then NEXT

image

Enter all the required fields iView Name, iView ID, etc., and then NEXT

image

Click FINISH

image

Select Open the Object for Editing  then OK

image

From the Property Category , select Content-Generic Launcher

image

Enter the Following

System : AppIntegrator

URI Template :

Here the ‘login’ , ‘passwd’  are the attribute names which are fetched from the view/source of the websites’ login page.

image

Save the Changes made and Click on the Preview button in the wizard

BAM !!!

  You have entered Yahoo site without being asked the username and password.

!https://weblogs.sdn.sap.com/weblogs/images/34735/28.jpg|height=281|alt=image|width=413|src=https://weblogs.sdn.sap.com/weblogs/images/34735/28.jpg|border=0!

Similarly you can access other sites by mentioning the appropriate fields and hence achieve the Single Sign-On through User Mapping.

To report this post you need to login first.

31 Comments

You must be Logged on to comment or reply to a post.

  1. Sandip Agarwalla
    Hi Kiran,
    I am getting the follwoing error while uploading the PAR file through Admin Console:

    INFO: Detected Portal Archive File: com.sap.portal.howtos.webapp.par
    INFO: Deployment failed – exception caught: Application upload failed: com.sap.portal.howtos.webapp.par – more detail at: C:\usr\sap\CHN\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd\com.sap.portal.howtos.webapp.par.log

    I checked the log file also, but could not figure out , whats the reason.

    Do help me out !

    regards,sandip

    (0) 
  2. Alejandro Attonaty
    Hi I have a question. Can I call to Iview with an URL with dynamic parameters ? I have an IIS with IISProxy and a Portal 60 WAS 640 SP13. I want to send dynamic parameters at Iview, It captures dynamic parameters and then It do foward calling a BW report. Do You have any idea?

    Thanks in advance
    Alejandro

    (0) 
  3. Vijay Kannan
    Hi, i tried to logon to another portal in the same way as above you have done to logon to yahoo. I checked the logon information from the source code of the portal and used them appropriately. But, it doesn’t getting logged on. It simply stops in the login page with the user name used. The password field is empty and unable to log in.
    I also tried to login to SDN site in the same way, but the same problem. It comes upto login page, with only username entered in the username field.
    Is it possible to integrate another portal using AppIntegrator as you have integrated Yahoo?
    Regards,
    Vijay.K
    (0) 
  4. Vijay Kannan
    Hi, i tried to logon to another portal in the same way as above you have done to logon to yahoo. I checked the logon information from the source code of the portal and used them appropriately. But, it doesn’t getting logged on. It simply stops in the login page with the user name used. The password field is empty and unable to log in.
    I also tried to login to SDN site in the same way, but the same problem. It comes upto login page, with only username entered in the username field.
    Is it possible to integrate another portal using AppIntegrator as you have integrated Yahoo?
    Regards,
    Vijay.K
    (0) 
  5. Narayanaswamy Balasubramaniam
    Hi,

    It was ver useful one… I tried this to connect to J2ee Application which resides with in the SAP J2ee Engine, but it was failed..

    can u explain me how make sigle sign with J2ee Application using SAPLogonTickets

    Note: I need to pass the logged in EP user id to the J2ee Application.

    Pls help me sort this

    Thanks and Regards
    Swamy.B 

    (0) 
  6. Robin Chu
    I followed the steps your provided, I define
    a system successfully.
       And I configue user mapping, I modified
    “ume.usermapping.unsecure=true” and then configue
    user mapping successfully.
       I create an Iview acoording to the document you have written successfully.
       Finally, but when I preivew the iview, I can
    not access to the yahoo login page without
    username and password.
       At the same time , the following exception is raised.

    Session Management will not work!
    Please check the DSM log file for details.

    You can turn off this alert inside ‘Support Desk’ -> ‘SAP Application’
      
    I do not know the reason which cause the error, I wish your reply and help me to solve my problem.

    thanks a log.

    (0) 
    1. rao p
      Hi …

           I am also getting same error.. Can you able to figure out what the problem is …
          Your help is greatly appprecited..

      thanks,
      rao

      (0) 
    2. rao p
      Hi …

           I am also getting same error.. Can you able to figure out what the problem is …
          Your help is greatly appprecited..

      thanks,
      rao

      (0) 
      1. KIRAN MUNUGALCHETTY Post author
        Hi Rao,

        Pl Check the protocol u have given and check the System name also.

        anyhow verify the log file for the errors and if possible, give exactly the error after “Caused by….”

        revert back 🙂

        Cheers,
        Kiran

        (0) 
    3. Vicky Liesens
      Hi,
      I did everything the tutorial said, but I get a page error (access denied) instead of a SSO to the Yahoo mail…
      Do you know What the error could be?
      Thx
      (0) 
      1. Vicky Liesens
        When I change the HTTP request method to “get” (in my iView), I get the logonscreen but no SSO
        In the URL I see that the system recognizes the user mapping
        When I change the HTTP request method to “post”, I get the page error…
        (0) 
  7. devara m
    Hi Kiran

    Thanks for your blog. I followed the same steps what you mentioned in the document. But User Mapping is not working. It is prompting for user credentials to yahoo mail login.

    Do I want to do anything else.

    Thanks in Advance
    dEvara

    (0) 
    1. devara m
      Hi Kiran

      When I login into portal first time I am getting yahoo inbox screen. But If I come out from this screen and come again then It prompts me to enter yahoo logon credentials. I think session is closing. Could you help me how to resolve this?

      Thanks in advace
      dEvara

      (0) 
    1. P G
      Hello all,
      I followed the steps above and yahoo pages work fine.But when I need to use some internal web applications I get ”  _12##0#0#Warning#1#com.sap.portal.dsm#Plain###Application domain ‘arsiv’ differs from Portal domain ‘saptestnw’
      Session Management will not work for Application ‘HTTP://arsiv/Login.aspx’!# “.
      Portal and other internal web sites should be in the same domain?
      (0) 
  8. Ramien Rosillo
    Hi very good you blog,

    But could be possible to pass a parameter?, a dynamic parameter sent from WD app?

    I’ve read only passing user and password as parameters.

    Thank in advance,
    RR.-

    (0) 
  9. Kumar Devarakonda

    Hi Kiran,

    App integrator is changed in NW7.31, I am trying to Integrate Billerdirect with Portal. Could you please help on the updated steps to follow for NW731 portal.

    Kumar

    (0) 

Leave a Reply