Bragge Henri <henri.bra...@ixonos.com> writes: > Hi Samuel, > > On Thu, 2011-02-03 at 17:13 +0100, Samuel Ortiz wrote: >> Hi Henri, > >> > @@ -97,6 +102,18 @@ Arguments string Type >> > Contains the list of alternate field names this >> > field can be represented by. >> > >> > + string Phase2 >> > + >> > + EAP Phase2 authentication method. For example "gtc", >> > + "mschapv2", or "md5". Used to supplement Passphrase >> > + field when requesting credentials for 802.1X networks. >> This is something I don't want to present to the user. Typically, the user >> knows its identity and a passphrase associated to it. So asking for an EAP >> passphrase is good enough. >> > > I agree that we don't want to show Phase2 method to the user as such. > Instead the reason for it is to enable customization of UI further by > having a different dialog for, say, MSCHAPV2 username/password dialog > and GTC challenge dialog. > > I've seen such customizations for example in Nokia N900, where user is > asked for "Username" & "Password" in the former case and "Response" in > the latter.
I agree with Henri. Providing the authentication method makes it easier for the UI application to help the user. > Maybe instead of the literal phase2 method, additional Passphrase types > could be introduced, like "eap-password" and "eap-response"? To me that sounds a bit artificial and I don't see any benefit compared to using real method names. And besides there's no harm providing the method to the UI, and it's extremely simple to implement. -- Kalle Valo _______________________________________________ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman