[sr-dev] git:master:e2ee8b57: auth: add support for Authentication-Info header

AndreasHuber-CH andreas.huber at nagra.com
Wed May 25 21:42:21 CEST 2016


Module: kamailio
Branch: master
Commit: e2ee8b5741ce2d9dc2613c698e5b7002c2f19e4f
URL: https://github.com/kamailio/kamailio/commit/e2ee8b5741ce2d9dc2613c698e5b7002c2f19e4f

Author: AndreasHuber-CH <andreas.huber at nagra.com>
Committer: AndreasHuber-CH <andreas.huber at nagra.com>
Date: 2016-05-25T15:30:03+02:00

auth: add support for Authentication-Info header

Add an option to include an Authentication-Info header in the response to a successful authentication.
The header can be enabled with the parameter 'add_authinfo_hdr' module parameter.
The implementation follows RFC2617.
The Authentication-Info header is added inside the function post_auth of the auth api.
The parameter HA1 had to be added to the post_auth api function which requires an
update in all auth_* modules that use the module auth api.

---

Modified: modules/auth/api.c
Modified: modules/auth/api.h
Modified: modules/auth/auth_mod.c
Modified: modules/auth/auth_mod.h
Modified: modules/auth/challenge.c
Modified: modules/auth/challenge.h
Modified: modules/auth/doc/auth_params.xml
Modified: modules/auth/nonce.c
Modified: modules/auth/rfc2617.c
Modified: modules/auth/rfc2617_sha256.c

---

Diff:  https://github.com/kamailio/kamailio/commit/e2ee8b5741ce2d9dc2613c698e5b7002c2f19e4f.diff
Patch: https://github.com/kamailio/kamailio/commit/e2ee8b5741ce2d9dc2613c698e5b7002c2f19e4f.patch




More information about the sr-dev mailing list