Share via


Mgmt Config sample for WLID / Facebook Connect sample

Now that we have a mgmt tool, I can provide you with a template so you can setup the ACS part of the WLID / Facebook Connect sample with less effort. Here’s the XML configuration:

 <ServiceNamespace xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="https://www.w3.org/2001/XMLSchema">
  <Issuers>
    <Issuer handle="acswebauth">
      <IssuerName>acswebauth</IssuerName>
      <Algorithm>Symmetric256BitKey</Algorithm>
      <CurrentKey>gyiepxNtc7RkCZuvV6FyEPWOp788uc1T0DMSZ9c/5QA=</CurrentKey>
      <PreviousKey>bAO0llCgF5C00GW/h7Zp0lt2WAe3WRrdIj42UMbds+A=</PreviousKey>
    </Issuer>
  </Issuers>
  <Scopes>
    <Scope handle="root">
      <AppliesTo>https://acswebauth.com</AppliesTo>
      <TokenPolicyHandle>root</TokenPolicyHandle>
      <Rules>
        <Rule handle="wlidpassthrough">
          <Type>PassThrough</Type>
          <InputClaimIssuerHandle>acswebauth</InputClaimIssuerHandle>
          <InputClaimType>uuid</InputClaimType>
          <InputClaimValue xsi:nil="true" />
          <OutputClaimType>userid</OutputClaimType>
          <OutputClaimValue xsi:nil="true" />
        </Rule>
        <Rule handle="idppassthrough">
          <Type>PassThrough</Type>
          <InputClaimIssuerHandle>acswebauth</InputClaimIssuerHandle>
          <InputClaimType>idp</InputClaimType>
          <InputClaimValue xsi:nil="true" />
          <OutputClaimType>idp</OutputClaimType>
          <OutputClaimValue xsi:nil="true" />
        </Rule>
        <Rule handle="fbsession">
          <Type>PassThrough</Type>
          <InputClaimIssuerHandle>acswebauth</InputClaimIssuerHandle>
          <InputClaimType>fbsession</InputClaimType>
          <InputClaimValue xsi:nil="true" />
          <OutputClaimType>fbsession</OutputClaimType>
          <OutputClaimValue xsi:nil="true" />
        </Rule>
      </Rules>
    </Scope>
  </Scopes>
  <TokenPolicies>
    <TokenPolicy handle="root">
      <TokenLifetime>1200</TokenLifetime>
      <SigningKey>AZYQZFGR1epDZV3NC+sBEgOXVY4vIWTPZnEg28mDXy8=</SigningKey>
    </TokenPolicy>
  </TokenPolicies>
</ServiceNamespace>

Copy this to your clipboard, save locally, then click the load button

image

Browse to the file on your local machine, then click the Save to Cloud button. BE CAREFUL: clicking that button will erase the config in your ACS service namespace. We’ll get the merge written soon :)

Comments

  • Anonymous
    November 15, 2009
    Before clicking the "Save to Cloud" button, remember to click the "Clear Service Namespace in Cloud" button. That will erase the configuration in your ACS service namespace. And yes, I'll get that merge written soon. :)

  • Anonymous
    December 18, 2009
    The VW body parts never did give names to their cars, instead consistently using letters and numbers to designate the coupes, sedans and the SUVs.  With the Infinity Q45 being the flagship sedan, the Infinity found its place in the American market.The VW body parts never did give names to their cars, instead consistently using letters and numbers to designate the coupes, sedans and the SUVs.   Thanks <a href="http://www.iautobodyparts.com/VW body parts/"> VW body parts </a> http://www.iautobodyparts.com/VW body parts/