cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From satya <ska...@fullarmor.com>
Subject Re: AW: General security error (Provided SAML token does not contain a suitable key)
Date Mon, 09 Jan 2012 21:38:48 GMT
The following is the configuration from the .net client. The configuration
works with .net services 

<system.serviceModel>
    <client>
      <endpoint
address="http://66.211.102.200/gen4/services/AssessmentDataService"
          binding="ws2007FederationHttpBinding"
bindingConfiguration="WS2007FederationHttpBinding_IAssessmentDataService"
                contract="ServiceReference2.IAssessmentDataService"
name="WSHttpBinding_IAssessmentDataService"
          behaviorConfiguration="clientEndpointCredential">
        <identity>
          <certificate encodedValue="" />
        </identity>
      </endpoint>
    </client>
    <behaviors>
      <endpointBehaviors>
        <behavior name="clientEndpointCredential">
          <clientCredentials>
            <clientCertificate storeName="My" storeLocation="LocalMachine"
x509FindType="FindBySubjectName" findValue="BLITokenRequest" />
          </clientCredentials>
        </behavior>
      </endpointBehaviors>
      <serviceBehaviors/>
    </behaviors>
    <bindings>
      <ws2007FederationHttpBinding>
        <binding name="WS2007FederationHttpBinding_IAssessmentDataService" >
          <security mode="Message">
            <message algorithmSuite="Default" issuedKeyType="SymmetricKey"
                negotiateServiceCredential="true">
              <issuer
address="http://stsbli.cloudapp.net:8080/STSService.svc/IWSTrust13"
binding="ws2007HttpBinding"
bindingConfiguration="http://srvsk01.skdevel.local/WCFTestSTS/Service.svc/IWSTrust13"
>
                <identity>
                  <certificate  encodedValue="*" />
                </identity>
              </issuer>
              <issuerMetadata
address="http://localhost:56636/Hybrid.STS/mex" />
            </message>
          </security>
        </binding>
      </ws2007FederationHttpBinding>
      <ws2007HttpBinding>
        <binding
name="http://srvsk01.skdevel.local/WCFTestSTS/Service.svc/IWSTrust13">
          <security mode="Message">
            <message clientCredentialType="Certificate"
negotiateServiceCredential="false"
                algorithmSuite="Default" establishSecurityContext="false" />
          </security>
        </binding>
      </ws2007HttpBinding>
    </bindings>
  </system.serviceModel>


  

--
View this message in context: http://cxf.547215.n5.nabble.com/Re-General-security-error-Provided-SAML-token-does-not-contain-a-suitable-key-tp4990489p5132596.html
Sent from the cxf-dev mailing list archive at Nabble.com.

Mime
View raw message