Discussion Cookie transform in Geneva Beta 2 - Web Farm Scenario

  • Tuesday, December 29, 2009 4:54 PM
     
     
    Hi all, anyone knows how to configure a client web.config for geneva to use RSA cookie transform? I am using Geneva Beta 2, in a webfarms scenario and I have an error decrypting cookies

    Thanks,

    Javier D. Caruso

All Replies

  • Tuesday, December 29, 2009 6:06 PM
    Moderator
     
     
    Please look at the Web Farm sample in Samples\Quick Start of the SDK.
  • Tuesday, December 29, 2009 7:11 PM
     
     
    Thanks Peter, but there is no web far example in the Geneva Beta 2. The Configuration used in the RTM Version does not work with the B2, particularly this portion of configuration:
            <securityTokenHandlerConfiguration>
              <tokenReplayDetection enabled="true">
                <replayCache type="SharedTokenReplayCache" />
              </tokenReplayDetection>
            </securityTokenHandlerConfiguration>

    I have tried this for example, but it does not work:

      <securityTokenHandlers>
     <remove type="Microsoft.IdentityModel.Tokens.SecurityTokenHandler, Microsoft.IdentityModel, Version=0.6.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
            <add type="Microsoft.IdentityModel.Tokens.X509SecurityTokenHandler, Microsoft.IdentityModel, Version=0.6.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
          </securityTokenHandlers>


    In the (old) beta 1 of geneva, we used
    <cookieManager mode="Default" >
          <ticketSerializer mode="Default" />
          <cookieTransforms compression="Deflate" protection="Rsa">
          </cookieTransforms>
        </cookieManager>

    but, in the beta 2, I can't find anything for doing the STS clients work in a WebFarm. We will migrate to the RTM version but in the meantime, I need to get this to work. I will appreciate your help.

    Thanks a lot.