From: Giacinto Cifelli <gciofono@gmail.com>
To: ofono@ofono.org
Subject: [PATCH 2/6] gprs-context: added OFONO_GPRS_AUTH_METHOD_NONE
Date: Tue, 02 Oct 2018 08:26:24 +0200 [thread overview]
Message-ID: <20181002062628.17466-2-gciofono@gmail.com> (raw)
In-Reply-To: <20181002062628.17466-1-gciofono@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 966 bytes --]
This method makes explicit the lack of authentication.
When selected, the username and password are ignored, but they are not
changed in the user-defined properties for the context.
This treatment is necessary to allow setting independently auth_method,
username and password.
This method is also selected implicitly when username is set to
an empty string. Also this selection is done without changing the
user-defined auth_method for the context, so that the behavior is
consistent.
---
include/gprs-context.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/gprs-context.h b/include/gprs-context.h
index 20ca9efc..8869c12e 100644
--- a/include/gprs-context.h
+++ b/include/gprs-context.h
@@ -57,6 +57,7 @@ enum ofono_gprs_context_type {
enum ofono_gprs_auth_method {
OFONO_GPRS_AUTH_METHOD_CHAP = 0,
OFONO_GPRS_AUTH_METHOD_PAP,
+ OFONO_GPRS_AUTH_METHOD_NONE,
};
struct ofono_gprs_primary_context {
--
2.17.1
next prev parent reply other threads:[~2018-10-02 6:26 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-02 6:26 [PATCH 1/6] connman-api: added "none" auth_method Giacinto Cifelli
2018-10-02 6:26 ` Giacinto Cifelli [this message]
2018-10-02 6:26 ` [PATCH 4/6] plugins/file-provisioning.c: support for auth NONE Giacinto Cifelli
2018-10-02 6:26 ` [PATCH 3/6] src/gprs: support for NONE auth Giacinto Cifelli
2018-10-02 6:26 ` [PATCH 5/6] gatchat: support for auth NONE Giacinto Cifelli
2018-10-02 23:26 ` Denis Kenzior
2018-10-02 6:26 ` [PATCH 6/6] drivers: " Giacinto Cifelli
2018-10-03 21:29 ` Denis Kenzior
2018-10-04 3:44 ` Giacinto Cifelli
2018-10-04 4:40 ` Denis Kenzior
2018-10-04 4:51 ` Giacinto Cifelli
2018-10-05 2:04 ` Denis Kenzior
2018-10-05 2:07 ` Giacinto Cifelli
2018-10-04 4:43 ` Giacinto Cifelli
2018-10-05 2:20 ` Denis Kenzior
2018-10-05 2:23 ` Giacinto Cifelli
2018-10-05 2:47 ` Denis Kenzior
2018-10-05 2:51 ` Giacinto Cifelli
2018-10-05 3:23 ` Denis Kenzior
2018-10-05 3:30 ` Giacinto Cifelli
2018-10-05 3:37 ` Denis Kenzior
2018-10-05 3:54 ` Giacinto Cifelli
2018-10-05 4:09 ` Denis Kenzior
2018-10-05 4:13 ` Giacinto Cifelli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181002062628.17466-2-gciofono@gmail.com \
--to=gciofono@gmail.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox