Skip to Content
avatar image
Former Member

SSO with web appintegrator

Hi All,

I am trying to integrate a webapplication with SSO. I followed the link Step-By-Step Guide to implement Application Integrator

I am unable to acheive SSO, I get a page cannot be displayed page in the content area.

I defined the system and created an iview from webappintegrator and also performed user mapping.

I defined the System in the following manner,

name of the server: abc.xyz.com

protocol of target system: <b>HTTPS</b>

URI of application: https://abc.xyz.com/login.asp

Please let me know if I am missing out anything here.

Thanks in advance

Regards

Luke

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

11 Answers

  • avatar image
    Former Member
    May 26, 2006 at 10:50 PM

    Hi !

    I performed all the steps described by Jawahar.

    A part of the website code is shown below:

    ..............

    ...............

    <form action="login.asp" method="post" id="form1" name="form1"><center>

    ...................

    ......................

    <input name="Username" type="text" maxlength="16" size="16" value></td></tr>

    .........

    <input name="Password" type="password" maxlength="16" size="16">

    <input type="submit" name="action" value="Login">

    I tried different values for the property editor of the iView (Content-Generic Launcher property)

    but still the result is just the display of the login screen in the content area, sso is not functioning. The values I entered are listed below:

    Application Parameters:

    Customer Exits fo 'ParameterProvider':

    HTTP Request method;

    ID:

    Show debug screen: <b>NO</b>

    Theme Subset:

    URL Template:

    <b><System.protocol>://<System.server><System.uri>?<Authentication></b>URL Template for SSO2:

    URL Template for user mapping: <b>Username=<MappedUser>&Password=<MappedPassword></b>

    The items in bold are the settings i made, please let me know if I need to do any further settings.

    Appreciate your help.

    Thanks

    -Luke

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Luke,

      Did you create a system definition and and alias ?

      Did you setup the system as Usermapping ?

      Did add the alias to the App Integrator properties ?

      Is a user with the ID you are using mapped at this system ?

      I guess the user you are using is an Admin user and not yet defined.

      Kai

  • avatar image
    Former Member
    May 25, 2006 at 07:01 PM

    Luke,

    the calling URL is build with all the parameters you made before, that means "URI of application" would only be login.asp.

    at the moment, your link would call https://abc.xyz.com/https://abc.xyz.com/login.asp/login.asp

    unfortunately, I've got no portal to doublecheck it, but give it a try 😉

    kr, achim

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 25, 2006 at 07:27 PM

    Hi Achim,

    Thanks for your response.

    I made the URI of the aplication to login.asp,

    still I get a page cannot be displayed page in the content area.

    Also for the iView of the type web appintegrator, the <b>Content-Genric Launcher</b> (from property editor) values are I gave are given below

    URL Template --<System.server>://<System.server><System.uri>?<Authentication>

    URL Template fraction for user mapping --

    <MappedUser>&passwd=<MappedPassword

    If you want to get a picture please check this blog at

    Step-By-Step Guide to implement Application Integrator

    Thanks

    Regards

    Luke

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Luke,

      try to use /login.asp as URI

      then I suppose, you made some miss-spellings:

      URI Template : <System.<b>protocol</b>>://<System.server><System.uri>?<Authentication>

      URL template fraction for user mapping : <b>login=</b><MappedUser>&passwd=<MappedPassword>

      are login and passwd the correct fieldnames for your application?

      can you access the application at all from your computer?

      kr, achim

  • avatar image
    Former Member
    May 25, 2006 at 08:41 PM

    Hi Achim

    I redid the entire thing again and entries I made in the iview Content-Generic Launcher properties are given below

    URL Template:

    <System.protocol>://<System.server><System.uri>?<Authentication>

    URL Template for fraction for usermapping

    login=<MappedUser>&passwd=<MappedPassword>

    Yes I am able to access the application from my system through a browser. But when I try to integrate it into the portal, the iView displays the loginscreen with the user name and password fields. I guess its not doing SSO. Please let me know your inuts in this.

    Again youve been very helpful

    thanks

    regards

    Luke

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Sonal,

      I got the same error message when i wanted to preview the iView. Were you able to solve it? Thanks

      Regards,

      Johan

  • avatar image
    Former Member
    May 25, 2006 at 09:06 PM

    Hi Achim,

    I checked the code for the web application, yea the parameters were different, it was Username and Password.

    so i changed the URL template faction for user mapping as

    Username=<MappedUser>&password=<MappedPassword>

    Thanks for correctig me on that. But still the response is a login screen in the content area, i cheked the user mapping, user name and password, evrything is fine...

    Thanks

    Regards

    Luke

    and yea the page cannot be displayed error is now eleminated.

    Add comment
    10|10000 characters needed characters exceeded

  • May 26, 2006 at 08:01 AM

    Hi Luke,

    Check the addition points

    1) Hope you have create a system (sys admin >> sys config)and

    2) Create system alias

    3) Do user mapping for that system alias

    Hope it should go well

    Cheers

    Jawahar Govindaraj

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 26, 2006 at 12:57 PM

    Hi Achim & JOwahar,

    I tried to log into the website like Achim suggested

    http://abc.xyz.com/login.asp?Username= known username>&Password=

    but that takes me to the initial login screen.

    The website is uses https and uses post method.

    Jowahar, ya I did make the system and also configured the user mapping crteria.

    As of now i still see the login screen in the portal. I will keep trying it, I appreciate your help and please do let me know if I need to verify any settings.

    Thanks

    Regards

    Luke

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Luke,

      The URL for accaessing a known account in yahoo is

      http://login.yahoo.com/config/login?login=< known username>&Password=

      Check list is given below

      1)Have you uploaded com.sap.portal.howtos.webapp.par?

      2)Have you create a template "Web Application" with necessary settings?

      3)Have you created a new system "Application Integration" using the template "Web Application" with necessary setting?

      4)Have you Created system alais "AppIntegrator"?

      5)In user mapping, select logded in user,edit>> select ""AppIntegrator", prvide <known yahoo username> and <yahoo password>. save it

      6)Have you create iview page & type system "AppIntegrator", set the url template, url template. save it and go to preview

      It should work now. Sorry for the such a big reply.

      Hope it goes well

      Cheers

      Jawahar Govindaraj

      PS: Reward me if you could slove it

  • May 26, 2006 at 04:43 PM

    Luke,

    can you take a look to the HTML code of the login.asp ?

    Take a look to the fieldnames for the username and password.

    That is what you need to append instead of "username" and "password"

    Kai

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 01, 2006 at 04:04 PM

    Hi Kai,

    Hi Luke,

    <b>Did you create a system definition and and alias ?</b>yes

    <b>Did you setup the system as Usermapping ?</b>

    Yes

    <b>Did add the alias to the App Integrator properties ?

    Could you please explain me how to add teh alias to app integrator property?

    </b><b>Is a user with the ID you are using mapped at this system ?</b>

    Yes

    <b>I guess the user you are using is an Admin user and not yet defined.</b>

    I checked it, for the user that I did the user mapping for.

    Thanks

    Luke

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 05, 2006 at 01:21 PM

    Hi All,

    I am still having the same issue. I am able to establish SSO with yahoo. I followed the same approach, but for the asp web allication that I desire to implement SSO through web appintegrator is still taking me to the login screen but is not logging into the application.

    Is there any code or anything else I need to try to achieve SSO with the web application?

    thanks

    Regards

    Luke

    Add comment
    10|10000 characters needed characters exceeded