Why does Saml2AuthenticationModule not work in azure compute emulator?

Unanswered Why does Saml2AuthenticationModule not work in azure compute emulator?

  • Friday, January 13, 2012 4:14 PM
     
     

    Using the WIF Extension for the SAML 2.0 Protocol's Saml2AuthenticationModule. Works great in IIS Express. However testing it in the compute emulator results in a 404 at the URL https://127.0.0.1:444/ServiceProvider/saml/post/ac. It looks like the module is not intercepting this HTTP POST.

    Why?

All Replies

  • Friday, January 13, 2012 5:23 PM
     
     
    Can you confirm the module is added to system.webServer/modules and not system.web/httpModules?
    Developer Security MVP | www.syfuhs.net
  • Friday, January 13, 2012 5:28 PM
     
     
    Can you confirm the module is added to system.webServer/modules and not system.web/httpModules?
    Developer Security MVP | www.syfuhs.net

    Copied and pasted directly from web.config under test, no edits:

    ...

     

        <system.webServer>

            <validation validateIntegratedModeConfiguration="false" />

            <modules runAllManagedModulesForAllRequests="true">

                <!--<add name="ElmahErrorMail" type="Elmah.ErrorMailModule, Elmah" />-->

                <!--<add name="ElmahErrorLog" type="Elmah.ErrorLogModule, Elmah" preCondition="managedHandler" />-->

                <!--<add name="ElmahErrorFilter" type="Elmah.ErrorFilterModule, Elmah" preCondition="managedHandler" />-->

                <add name="ElmahErrorLog" type="Elmah.ErrorLogModule, Elmah" />

                <add name="Saml2AuthenticationModule" type="Microsoft.IdentityModel.Web.Saml2AuthenticationModule"/>

                <add name="SessionAuthenticationModule" type="Microsoft.IdentityModel.Web.SessionAuthenticationModule"/>

            </modules>

            <handlers>

                <add name="Elmah" path="elmah.axd" verb="POST,GET,HEAD" type="Elmah.ErrorLogPageFactory, Elmah" preCondition="integratedMode" />

            </handlers>

            <httpErrors errorMode="Custom" defaultResponseMode="ExecuteURL">

                <remove statusCode="400" subStatusCode="-1" />

    ...

     

    Update

    I originally had it in both. I just tried commenting it out of system.web/httpModules, and the same problem occurs. It was my impression that only cassini used httpModules. 

    • Edited by Dan Ludwig Friday, January 13, 2012 5:44 PM
    •  
  • Saturday, August 11, 2012 5:36 AM
     
     
    Were you able to get this resolve. I am experiencing the same problem.