Skip to Content
avatar image
Former Member

Single Sign On with VB or self developing program

Hi Experts,

Is this possible to do single sign on with NetWeaver from VB or self developing program? For example, a VB windows program opens a NW portal program and then the user does not need to key username/passward. How to achive it

Best Regards

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Nov 07, 2008 at 09:15 AM

    In my opinion it should not matter if an application is triggered by a mouseclick or a VB application......

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      To my knowledge, SAP Logon Tickets are intended to be a proprietary mechanism, so only the SAP NW Portal is intended to issue them after the authentication requirements are succesfully passed - which ever those happen to be.

      As you can see, I have chosen my wording carefully as I might not be completely correct and I would think that SAP can anyway change the design as they please if they want to keep it proprietary - in which case your VB scripts will all break if they depend on this.

      Another option in addition to searching here, is to look around in the [Scripting Languages|/community [original link is broken]; forums as the folks there have faced this issue before.

      Cheers,

      Julius

      Edited by: Julius Bussche on Nov 7, 2008 2:45 PM

  • Nov 07, 2008 at 01:03 PM

    Tom,

    First you need to configure NW so that the required login module is working when you logon from a web browser. Then, once you have SSO working from web browser at workstation you can code the same functionality that is used by the browser into your VB application - depending on which method of authentication is used, this might be easy or very hard. If you can, I think you shoudl "embed" the browser in your VB application so that NW thinks the browser is being used by a user, but it will instead be the browser invoked and operated by the VB app. I have seen this done before, but using Delphi, so I suspect it is also possible using VB. If you use the browser then SSO2 tickets will be sent to NW by browser and your app will not need to get involved in any propriatory methods.

    I hope this helps ?

    Thanks,

    Tim

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 10, 2008 at 09:33 PM

    There is an excellent document authored between Microsoft and SAP that talks about all of the various SSO options that can be implemented between the two platforms. You can find it at the SAP | Microsoft Alliance webpage (http://www.microsoft.com/isv/sap/technology/interop/ad.aspx), titled "Single Sign-On with Microsoft and SAP".

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 13, 2008 at 10:19 PM

    >

    > Hi Experts,

    >

    > Is this possible to do single sign on with NetWeaver from VB or self developing program? For example, a VB windows program opens a NW portal program and then the user does not need to key username/passward. How to achive it

    >

    > Best Regards

    From your description it is not clear whether you intend to submit Web Service calls from your VB program (acting as WS Consumer) or whether you intend to implement a browser-like user agent.

    Unfortenately you did also not tell us which release your "NW Portal" is based on. Assuming it's a NWAS Java 7.0 you might consider to use Kerberos / SPNEGO for authentication. That would work for both, servlets and web services (using transport-level security).

    Using X.509 client certificates would be another option. But most likely you do not have a PKI.

    Add comment
    10|10000 characters needed characters exceeded