Dimitri Glazkov

Web and About

Complete Credentials Screening

with 7 comments

Here’s the latest iteration of the Credentials Screening module (for more information see this and this posts). It further improves the way credentials screening operates, introducing things like Windows authentication cookie reminder (because sometimes Explorer “forgets” that it had already authenticated with the site and issues a new challenge), better browser detection (since no other browser supports silent authentication, only MSIE will invoke the credentials screening process), corrected support of Forms authentication, and last, but not least — Authenticate event, which your application can subscribe to by simply implementing a CredentialsScreening_Authenticate method in the Global.asax.cs class. The signature of your method should look like this:

protected void CredentialsScreening_Authenticate(Object sender, EventArgs e) { /* body of your method */ }

This method will be called any time the Credentials Screening module successfully authenticated a user. Neat, huh? Oh, by the way, almost forgot:

If you want to explicitly make the login dialog pop-up (for example, you have a “Login” button for those who couldn’t authenticate through screening), use this static method to retrieve it:

public static string ScreeningModule.GetManualLoginUrl(HttpRequest request);

Well, this about sums it up. Let me know if you find any more bugs or opportunities for improvement.

Written by Dimitri Glazkov

March 1, 2005 at 1:28 pm

Posted in Uncategorized

7 Responses

Subscribe to comments with RSS.

  1. Hello, I would like to look at this code but the link is not working. Can you please repost it or email it to me.

    Thanks

    dharmesh

    August 21, 2008 at 11:27 am

  2. dharmesh, unfortunately, I don’t have access to this code at the moment. When I moved to a different server, some things got left behind. I will try to locate it and repost it soon.

    dglazkov

    August 22, 2008 at 10:21 am

  3. Hi Dimitri Glazkov,

    I would appreciate if you can find this code. As it appears from all your various posts, its a great solution on something that I need to accomplish.

    Thank you.

    Regards,
    Jinesh

    Jinesh Udani

    September 11, 2008 at 6:54 am

  4. Hi, any luck finding the code? I also need to take a look at this solution as I am trying to make asp.net mixed mode authentication. Thanks.

    pjer

    September 28, 2008 at 10:06 am

  5. Hi Dimitri, any luck in finding that CredentialsScreening.zip file and fixing the link posted on your last Blog post, posted in 2005?
    I know you are with the Google Chrome Team now, congrats! And I assume they are keeping you very busy… this code would help us mere mortals a lot though and it would be much appreciated. Thanks in Advance!

    Francois Grobler

    January 15, 2009 at 5:46 am

  6. Hi Dimitri,
    I have a problem with CredentialScreening when i try to get credential on https.

    can you help me

    thanks

    Davide

    June 11, 2009 at 5:44 am

  7. Hi Dimitri,

    I cannot access the code, can you please help me get it.

    Thanks

    Mona Gamal

    January 17, 2013 at 2:14 am


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 36 other followers

%d bloggers like this: