The Artima Developer Community
Sponsored Link

.NET Buzz Forum
AtomAPI and Authentication

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Greg Reinacker

Posts: 276
Nickname: gregr
Registered: Aug, 2003

Greg Reinacker is president of NewsGator Technologies
AtomAPI and Authentication Posted: Aug 25, 2003 8:46 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Greg Reinacker.
Original Post: AtomAPI and Authentication
Feed Title: Greg Reinacker's Weblog
Feed URL: http://sedoparking.com/search/registrar.php?domain=®istrar=sedopark
Feed Description: Greg Reinacker's Weblog
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Greg Reinacker
Latest Posts From Greg Reinacker's Weblog

Advertisement

Joe Gregorio and Mark Pilgrim have been working on a new implementation of the Atom API, and have come up with a Digest-like authentication mechanism for it. Joe describes it here; here's a small part of the post:

  1. Triggered an auth by rejecting a request with an HTTP status code of 401.
  2. The server response includes an Authenticate: header that includes Atom as an authentication scheme.
  3. The client then sends an Authorization: header with the scheme of Atom with all the Digest authentication information going into X-Atom-Authorization: header.
  4. With every request the server sends back an X-Atom-Authentication-Info: header with the 'nextnonce'.

Note that this now uses the extensibility of the HTTP authentication scheme. 

Well, ok. But how about this:

1. Change "Atom" to "Digest" in the WWW-Authenticate header, and make a couple of other trivial changes to this response.

2. Change X-Atom-Authentication to Authorization, with appropriate trivial changes.

Poof! You're using digest authentication. Now I know Mark and Joe thought about this, and I was involved in a long painful discussion talking about this. But here's my point: if you have enough control over your server to implement this "Atom-authentication" mechanism, then you have enough control to implement Digest itself. With a huge added benefit that many client toolkits understand digest out of the box.

My guess is this - there is a way to implement this for Apache in code, rather than using the .htaccess built-in support. If you can implement atom-auth, can't you just modify your code to implement Digest?

And I even have a Digest implementation for .NET built, for folks that can't (or don't want to) turn on IIS intrinsic support for Digest.

We're so close. Let's do this right. I bet if there was an implementation built for Apache that didn't require .htaccess or httpd.conf access, then some of the nay-sayers might get on board. Someone care to try it? I did my part - my .NET/IIS implementation is available, free, for anyone to use today...

Read: AtomAPI and Authentication

Topic: Acknowledgements Previous Topic   Next Topic Topic: Taking Time Out...

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use