summaryrefslogtreecommitdiff
path: root/makeopts.in
diff options
context:
space:
mode:
authorDavid M. Lee <dlee@digium.com>2013-07-03 16:33:13 +0000
committerDavid M. Lee <dlee@digium.com>2013-07-03 16:33:13 +0000
commit9ba976b19c3e553b8ff0715b20894de61520a300 (patch)
treec49720016f46bcc30e643dffc1caed3dafec7bed /makeopts.in
parentc9a3d4562ddb1ed5b34f7d5530efd6aa695377c2 (diff)
ARI authentication.
This patch adds authentication support to ARI. Two authentication methods are supported. The first is HTTP Basic authentication, as specified in RFC 2617[1]. The second is by simply passing the username and password as an ?api_key query parameter (which allows swagger-ui[2] to authenticate more easily). ARI usernames and passwords are configured in the ari.conf file (formerly known as stasis_http.conf). The user may be set to `read_only`, which will prohibit the user from issuing POST, DELETE, etc. Also, the user's password may be specified in either plaintext, or encrypted using the crypt() function. Several other notes about the patch. * A few command line commands for seeing ARI config and status were also added. * The configuration parsing grew big enough that I extracted it to its own file. [1]: http://www.ietf.org/rfc/rfc2617.txt [2]: https://github.com/wordnik/swagger-ui (closes issue ASTERISK-21277) Review: https://reviewboard.asterisk.org/r/2649/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393530 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'makeopts.in')
-rw-r--r--makeopts.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/makeopts.in b/makeopts.in
index 95e69b817..401e8f1af 100644
--- a/makeopts.in
+++ b/makeopts.in
@@ -281,6 +281,9 @@ SRTP_INCLUDE=@SRTP_INCLUDE@
OPENSSL_INCLUDE=@OPENSSL_INCLUDE@
OPENSSL_LIB=@OPENSSL_LIB@
+CRYPT_INCLUDE=@CRYPT_INCLUDE@
+CRYPT_LIB=@CRYPT_LIB@
+
CRYPTO_INCLUDE=@CRYPTO_INCLUDE@
CRYPTO_LIB=@CRYPTO_LIB@