Welcome! Log In Create A New Profile

Advanced

Allow more than one challenge - multiple authenticate response-header [rfc2616 sec14.47]

Sergey Brester
April 29, 2015 06:02AM
Hi,

enclosed you will find an attached changeset, that allows more than one
authentication challenge - multiple authenticate response-header
[rfc2616 sec14.47].

Implemented for auth_request and http upstream (ex. backends).

If you want to support it in your own authentication module, just call
`ngx_http_upstream_transmit_headers` after setting
`headers_out.www_authenticate` of request, like in both implemented
modules (see changeset attached).
For upstreams simply add a multiple header entries with
www-authentificate challenges, supported from your module.

PS. If someone needs a git version of it:
https://github.com/sebres/nginx/commits/hg-sb-mod [1]

Regards,

sebres.

Links:
------
[1] https://github.com/sebres/nginx/commits/hg-sb-mod
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Allow more than one challenge - multiple authenticate response-header [rfc2616 sec14.47]

Sergey Brester 617 April 29, 2015 06:02AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 232
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready