Azure Access Control: filter on domain

Answered Azure Access Control: filter on domain

  • Thursday, February 02, 2012 8:20 AM
     
     

    Hi,


    I'm new to Azure Access Control, so this might be a trivial question.

    I have setup an asp.net website, and secured it using Azure Access Control,
    by adding a STS reference. That works out nicely.

    My identity provider is google.
    Now, I would like to set it up in such a way, that not everyone with a google account can log in,
    but only users within a specific google domain, let's say @SomeGooglePartner.com.

     

    What would be the best way to achieve this?
    - Is it possible to set up any filtering in the azure management portal?
    - Listen to specific "WSFederationAuthenticationModule" events, and act upon them?
    - Create my own "WSFederationAuthenticationModule" as a subclass from WSFederationAuthenticationModule.
      Then override the "OnSignedIn" method, and throw an exception if it email address claim
       is not from "SomeGooglePartner.com" ?


    Thanks for your time!
    Koen

     

     

All Replies