Last active
March 23, 2017 17:43
-
-
Save pmedcraft/b918a3243d4dacae6cd2c51a01deb8c0 to your computer and use it in GitHub Desktop.
Extracts of an App.config file from an application connecting to SDL Media Manager
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<configuration> | |
<appSettings> | |
<add key="IssuerName" value="http://localhost:89/IWSTrust13" /> | |
<add key="MediaManagerWebServiceAddress" value="https://TENANTNAME.sdlmedia.com/WebServices/MediaManager2011.svc" /> | |
<add key="ClientSettingsProvider.ServiceUri" value="" /> | |
</appSettings> | |
<system.serviceModel> | |
<bindings> | |
<ws2007FederationHttpBinding> | |
<binding name="FederationEndpointHttps" transactionFlow="true" sendTimeout="00:05:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"> | |
<security mode="TransportWithMessageCredential"> | |
<message> | |
<issuer address="http://localhost:89/IWSTrust13" binding="ws2007HttpBinding" bindingConfiguration="ws2007HttpsBindingConfiguration"> | |
<identity> | |
<servicePrincipalName value="host/localhost" /> | |
</identity> | |
</issuer> | |
<issuerMetadata address="http://localhost:89/IWSTrust13/?mex" /> | |
<tokenRequestParameters> | |
<trust:SecondaryParameters xmlns:trust="http://docs.oasis-open.org/ws-sx/ws-trust/200512"> | |
<trust:KeyType xmlns:trust="http://docs.oasis-open.org/ws-sx/ws-trust/200512">http://docs.oasis-open.org/ws-sx/ws-trust/200512/SymmetricKey</trust:KeyType> | |
<trust:KeySize xmlns:trust="http://docs.oasis-open.org/ws-sx/ws-trust/200512">256</trust:KeySize> | |
<trust:Claims Dialect="http://schemas.xmlsoap.org/ws/2005/05/identity" xmlns:trust="http://docs.oasis-open.org/ws-sx/ws-trust/200512"> | |
<wsid:ClaimType Uri="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name" xmlns:wsid="http://schemas.xmlsoap.org/ws/2005/05/identity" /> | |
<wsid:ClaimType Uri="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname" xmlns:wsid="http://schemas.xmlsoap.org/ws/2005/05/identity" /> | |
</trust:Claims> | |
<trust:KeyWrapAlgorithm xmlns:trust="http://docs.oasis-open.org/ws-sx/ws-trust/200512">http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p</trust:KeyWrapAlgorithm> | |
<trust:EncryptWith xmlns:trust="http://docs.oasis-open.org/ws-sx/ws-trust/200512">http://www.w3.org/2001/04/xmlenc#aes256-cbc</trust:EncryptWith> | |
<trust:SignWith xmlns:trust="http://docs.oasis-open.org/ws-sx/ws-trust/200512">http://www.w3.org/2000/09/xmldsig#hmac-sha1</trust:SignWith> | |
<trust:CanonicalizationAlgorithm xmlns:trust="http://docs.oasis-open.org/ws-sx/ws-trust/200512">http://www.w3.org/2001/10/xml-exc-c14n#</trust:CanonicalizationAlgorithm> | |
<trust:EncryptionAlgorithm xmlns:trust="http://docs.oasis-open.org/ws-sx/ws-trust/200512">http://www.w3.org/2001/04/xmlenc#aes256-cbc</trust:EncryptionAlgorithm> | |
</trust:SecondaryParameters> | |
</tokenRequestParameters> | |
</message> | |
</security> | |
</binding> | |
</ws2007FederationHttpBinding> | |
<ws2007HttpBinding> | |
<binding name="ws2007HttpsBindingConfiguration" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647"> | |
<readerQuotas maxStringContentLength="2147483646" maxArrayLength="2147483646" /> | |
<security mode="Message"> | |
<message establishSecurityContext="false" /> | |
</security> | |
</binding> | |
</ws2007HttpBinding> | |
</bindings> | |
<client> | |
<!-- Adding the Media Manager endpoint --> | |
<endpoint address="https://TENANTNAME.sdlmedia.com/WebServices/MediaManager2011.svc" binding="ws2007FederationHttpBinding" bindingConfiguration="FederationEndpointHttps" contract="MediaManager.IMediaManager2011" name="FederationEndpointHttps" /> | |
</client> | |
</system.serviceModel> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment