Re: Web login
- From: Marc Herbert <Marc Herbert gmail com>
- To: networkmanager-list gnome org
- Subject: Re: Web login
- Date: Tue, 13 Apr 2010 16:20:32 +0100
Le 13/04/2010 12:57, Peteris Krisjanis a écrit :
> 2010/4/13 Mads Kiilerich <mads kiilerich com>:
>> Peteris Krisjanis wrote, On 04/13/2010 01:10 PM:
> ..................
>>> Of course, such functionality would be kinda cool. I could imagine it like
>>> this:
>>> a) user connects to open network with web interface for username and
>>> password;
>>> b) NetworkManager detects it,
>>
>> But how?
>>
>
> Just got it - it is simple as that. Try to open any page you're sure
> isn't accessible without authentication. It will redirect to login
> page. If there is clear shot that is indeed login page, go ahead. If
> not, fall back to current default - do nothing :)
bool requiresWebLogin()
{
return ( http://www.google.com
== http://www.yahoo.com/
== http://www.hotmail.com/ )
}
Something like that.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]