Requesting help - .Net Code for SSO RRS feed

  • Question

  • Hi,

    We are developing component for SSSO between SAP Portal and .Net site. .Net Site admins have provided SSO .Net code. We need to implement this in Java framework of SAP portal. We are facing issue(functionality of ) in analyzing following code snippets:

    // Load Customer Private Key
    foreach (StoreLocation storeLoc in Enum.GetValues(typeof(StoreLocation)))
    X509Store store = new X509Store(storeLoc);
    foreach (X509Certificate2 c in store.Certificates)
    if (!Page.IsPostBack)
    certDDL.Items.Add(new ListItem("[" + store.Location + "] " + c.SubjectName.Format(false), c.Thumbprint));
    if (certDDL.SelectedValue == c.Thumbprint)
    customerRSA = (RSACryptoServiceProvider)c.PrivateKey;


    We are not able to get what value will 'Seed' in following code snippet:
    protected const string Seed = "xxxx";

    string clearToken = login + "|" + DateTime.Now.ToUniversalTime().ToString("u") + "|" + Seed;
    Attached is complete code for your reference.
    • Moved by Mike Feng Thursday, December 27, 2012 5:31 AM (From:.NET Base Class Library)
    Wednesday, December 26, 2012 9:08 AM


All replies

  • Hi Ganga,

    Welcome to the MSDN Forum.

    Your issue is of this forum scope (.NET Base Class Library), but I am not sure which forum is appropriate one. I moved this thread to "Where is the forum for..." to look for one.

    Thank you for your understanding and support.

    Best regards,

    Mike Feng
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, December 27, 2012 5:31 AM
  • You'd want to ask in a Java forum.


    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer

    My Blog: http://unlockpowershell.wordpress.com
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ("6B61726C6D69747363686B65406D742E6E6574"-split"(?<=\G.{2})",19|%{[char][int]"0x$_"})

    Wednesday, January 2, 2013 8:01 PM