FS-11025 [mod_sofia] use ports for acl check

* optionally use port for acl check
* optionally lookup acl token from header
* optionally processed auth only by acl
This commit is contained in:
Luis Azedo
2018-03-13 19:59:41 +00:00
committed by lazedo
parent 60956d7f85
commit 254b739b96
2 changed files with 100 additions and 42 deletions
+4
View File
@@ -310,6 +310,8 @@ typedef enum {
PFLAG_AUTO_INVITE_100,
PFLAG_UPDATE_REFRESHER,
PFLAG_AUTH_REQUIRE_USER,
PFLAG_AUTH_CALLS_ACL_ONLY,
PFLAG_USE_PORT_FOR_ACL_CHECK,
/* No new flags below this line */
PFLAG_MAX
@@ -787,6 +789,8 @@ struct sofia_profile {
int bind_attempt_interval;
char *proxy_notify_events;
char *proxy_info_content_types;
char *acl_inbound_x_token_header;
char *acl_proxy_x_token_header;
};