This is my official 0.1 release for the NetworkManager Web Authentication program I have been working on. This is a much more formal release than the one I did last night, and as such, will have a lot more information. If you do not know anything about this, there is a page on this wiki detailing the specifics of the idea.
What this release is, at present:
- Firefox Extension
- Linux-only
- C++ XPCOM object to communicate with DBus
- Communication between the extension and another running program via DBus
- A few prompts and dialog boxes as a proof of concept
A basic how-to to use this extension:
- Download and extract the tarball
- Install the correct Firefox extension (x86 or x86_64) as they are not cross-platform
- Start Firefox. You will be presented with a series of prompts
- Run the dbus executable from the tarball in a terminal as follows:
- To receive a signal: ./dbus receive
- To send a signal: ./dbus send "message"
- Try sending various pieces of information back and forth
- When done, disable or uninstall the extension to make sure you don't get the prompts every time it starts
More information on this follows...
If you look in the files, you will notice that there is nmautologin-0.1-ext-src.tar.gz and nmautologin-0.1-src.tar.gz . This is not a mistake, but somehting I had to do as a workaround for a problem I detailed in this posting. If you want to compile it yourself, do this:
- Extract the contents of the nmautologin-0.1-src.tar.gz and move the nmautologin directory to srcdir/extensions/ in a Mozilla source tree
- Edit your .mozconfig file, and make sure you have ac_add_options --enable-extensions=default,nmautologin in it. This tells make to compile the code
- Extract the contents of nmautologin-0.1-ext-src.tar.gz somewhere
- Go into the newly created direcotry, objdir/dist/bin/extensions/ This e-mail address is being protected from spambots. You need JavaScript enabled to view it /components and copy the files into the components/ directory of the extension source (these are the files needed for the binary side of the XPCOM)
- In Firefox, use Ted's Extension Developer's Extension and do:
- Tools -> Extension Developer -> Extension Builder
- Click Browse and go to where you put the extension source
- Click "Build Extension"
- Step 5 will produce a file, autologin.xpi, in the extension's source directory, install this into Firefox
- Make sure you have compiled the second program from dbus-example.c
- cd to the directory the file is in
- gcc -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -L/lib -ldbus-1dbus-example.c -o dbus
- Test both side by running Firefox, and thedbus program as explained earlier
The dbus-example.c is modified from from the one given in Freedesktop.org's DBus C API tutorial to work with the naming schemes I'm using in the extension. Other then path/interface/signal name changes, this file is as how it was downloaded.
With this working as it is, there are a few things I want to change before 0.2:
- Double-check that my memory management is proper
- Make the dbusClient constructor accept arguments for DBus interface and object paths, to make it better for others to use
- Along with the above, change extension settings for the XPCOM side to let it be compiled without the name "nmautologin" alowing for the components to be used without the other half
- get the XPCOM to work on all systems (that part of te article simply has "TODO" there)
And, my plans for the 0.2 release:
- Submit a bug report for NetworkManager about the automatic web authentication
- Start hacking the NM code to allow signals to be sent to the extension for various events
- Get the extension to be more like an event listener for the signals being sent






surrounding your feet, all gentlemen’s eyes would have fixed on the [url=http://www.unshoessales.com/herve-leger-c-35.html ]Herve Leger[/url] dress around your body, wasn’t
it charming and elegant to reflect your famininity? Wow, you also think that your boyfriend or husband is not satisfied with their life style right now. Just come to our
homepage and take a look at[url=http://www.unshoessales.com/vibram-five-fingers-c-36.html] Vibram Five Fingers[/url] which will tie them to the real nature, we do belive they
will enjoy running in a skiing park with [url=http://www.inuggshopping.com] UGG Boots[/url] that can keep their feet warm. It is really a good way for you to jog with your
friends by wearing [url=http://www.unbootssale.com] MBT Shoes[/url] on Saturday or watch a film provided by [url=http://www.undvdsale.com]Wholesale DVD[/url] with your family
to relax yourself. If you take part in a wedding ceremony. I am sure that you will be pleased to see [url=http://www.x-jewelrybox.com] Links of London[/url] and
[url=http://www.x-jewelrybox.com]Tiffany Jewelry[/url] that make you look much prettier and graceful.
http://www.ghdpick.com
http://www.uggbootspick.com
http://www.mbtsells.com
http://www.mbtpick.com
http://www.mbtshoesport.com
http://www.mbtshoesgood.com
http://www.guccisaleoutlet.com/ Gucci Sale
http://www.guccisaleoutlet.com/ Gucci Bags/Handbags
http://www.guccisaleoutlet.com/ Gucci outlet online
http://www.guccisaleoutlet.com/ Gucci outlet store
http://www.guccisaleoutlet.com/ Gucci Handbags
http://www.guccisaleoutlet.com/ Cheap Gucci
http://www.guccisaleoutlet.com/Gucci_Bags-Handbags/Gucci_2010_New.html GUCCI 2010 New
http://www.buydvdezy.com/goods-322-Queer-As-Folk-Seasons-1-5-DVD-boxset.html
pass it? Never!
áiliúla World's só Hairstyling Uirlisí-Ireland Styler IV GHD Ccurls Gruaige ceirmeacha GHD Straighteners, GHD Ireland - le reiligiún nua do gruaige Peter Mark GHD.
Straighten, curl, flick, twist, GHD Hair.
Peter Mark GHD Thíos ar ár raon is airde de gcuacha GHD Curls, lena n-áirítear trí ghlúin nua le haghaidh táirgí deiridh in styling ildánach. Cibé gearr agus fíneáil, nó san fhadtéarma agus tiubh, foirfeacht tuillte ag gach aingeal uirbeach. Aimsigh a GHD Straighteners styler is foirfe do chineál gruaige, go heisiach ar an suíomh gréasáin miondíola GHD Ireland. Aimsigh an ceart GHD Straighteners Ireland duitse.
Source: http://www.ghd-ireland.com
-------------
Norge
World's Famous Luxury Hairstyling Outils-IV Styler Rettetang GHD MK4 Ceramic Hair GHD Straighteners - GHD styler une nouvelle religion pour les cheveux.
Rett, curl flick, vri, GHD Rettetang.
Nedenfor er vår mest avanserte utvalg av GHD Rettetang ennå inkludert tre nye generasjon produkter for den ultimate allsidig styling. Rettetang Enten korte og fine, eller lang og tykk, hver urbane engel fortjener perfeksjon. Finn ut hvilken GHD styler er perfekt for din hårtype GHD Straighteners, utelukkende på salg GHD Norge nettsted. Finn riktig Rettetang GHD for deg.
Source: http://www.ghdrettetang.com/
I found your site on technorati and read a few of your other posts. Keep up the good work.
more info please visit the web for b2c iphone etc.
Ein seltenes Angebot: Im Handy-Shop des Mobilfunkbetreibers E-Plus steht
zurzeit das Dual-SIM-Handy Samsung B5722. Das Mobiltelefon für den parallelen
Ciphone
MBT shoes
MBT womens sandals
MBT womens shoes
MBT mens sandals
MBT mens shoes
Air Max Nike
Air Max Shoe
Wholesale Nike Air Max 2009
air max 2009
Nike Air Max 2009
Cheap Nike Air Max
air max 90
Nike Air Max Shoes
ghd australia
ghd straighteners
pink hair straightenrs
hot hair
ghd mk4
hair irons
ghd hair styler
ceramic straighteners
straightener hair
hair straightening irons
straightening irons
straightners
ghd iv styler
mini hair straightener
best ghd straighteners
hair straighener sale
hair straightener
ghd pink styler