locked
[MS-MDE] Windows 8.1: How do I configure my WCF service to understand the BinarySecurityToken of the GetPolicies Request? RRS feed

  • Question

  • Hi

    I am asking this question to implement the service to serve  GetPolicies request during Windows 8.1 enrollment. 

    Windows DM client is sending the token issued by STS as a BinarySecurityToken with custom ValueType and EncodingType. How do I configure my service binding, so that I can write the Custom validator or use the existing WS-Security validators?

    Here I am posting a part of the Request header that shows the <security> tag. 

    <wsse:Security s:mustUnderstand="1">
    <wsse:BinarySecurityToken ValueType="http://schemas.microsoft.com/5.0.0.0/ConfigurationManager/Enrollment/DeviceEnrollmentUserToken" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">


    I am not finding a way to make my service understand this SOAP message using HTTP bindings, even I tried to use Custom wsHttpBinding. Is there a way you can suggest?

    Note: I am trying to create a  .Net WCF service that serves this SOAP request.

    Thanks

    Monday, January 27, 2014 12:53 PM

Answers