Dintelmann, Peter wrote: > When you are implementing your own authentication mechanism e.g. > in a server using the multiprotocol feature you have to pass two > pieces of information to the Auth handler: the name of the auth > mechanism used and the data submitted by the client (e.g. a MD5 > hash). > > The name of the auth mechanism can be passed via $r->ap_auth_type(). > But what is the the correct way to pass the client auth data? Should > I use the request notes table to this end?
I'm not sure I follow what you need but I'll try. all data passed from the client is available. in this instance you probably want $r->headers_in->get('Authorization') to grab the authentication information sent by the client. but if you're trying to do digest authentication yourself there is a better way: for apache 2.1: http://search.cpan.org/dist/Apache-AuthenHook/ for apache 1.3 http://search.cpan.org/dist/Apache-AuthDigest/ HTH --Geoff