[GSoC 2015: Hawk Authentication] Week 14: Concluding Summer of Code

Submitted by Dragooon on Tue, 08/25/2015 - 17:07

This would be my last weekly update as far as Google Summer of Code 2015 is concerned. The long road is coming to an end as the season closes on Friday, 28th August 2015. This week I tackled a bug in core of Drupal which I discussed in my last week’s update.

Fixing WWW-Authenticate

This issue is #2553531 on the Drupal bug tracker. Previously when a user was accessing an area which required them to be logged in without logging in, Drupal would call authentication providers for a “challenge”. This challenge allows Basic Auth to specify it’s WWW-Authenticate header and send a HTTP 401 unauthorised error telling the user that they need to be logged in and can use Basic Auth as a means to log-in. This was good, as basic was the only protocol which would communicate via WWW-Authenticate until Hawk came along.

WWW-Authenticate can have multiple values, a server sending WWW-Authenticate: Hawk, Basic for example is saying that the client can use hawk or basic auth protocol. This wasn’t possible in the current code base as Drupal did not allow multiple Auth providers to specify the challenge. I modified the code to allow multiple auth providers to send their challenge which gets compiled by the authentication provider manager into an exception. Previously, the auth provider would send an exception itself which is why multiple auth providers could not specify their own challenge.

This fix is still to be accepted into Drupal core, although I hope it would get accepted soon.

Concluding Summer of Code

This would probably be the last coding I will be doing during Summer of Code, but it’s not last related to Drupal or my project as I plan to continue it’s development after GSoC as well and hopefully I get to stick around Drupal for a long time.

I had a lot of fun during the summer, and I got to learn a lot of new things as well as got introduced to Drupal and it’s community. I worked on implementing a new protocol within PHP, developing a general purpose library which can be used by anyone willing to use the protocol with PHP and implemented the protocol as a Drupal module. All things that I have never done in the past, and the things I struggled with at times but ultimately learned them and managed to succeed to the best of my abilities. I also improved my understanding of concepts such as Dependency Injection, unit testing, composer, authentication and authorization as well as security concepts related to them, encryption, hashing and general Drupal architecture and development.

For students participating in the future, don't hesitate to ask around the Drupal community via the forums or IRC if you get stuck doing something as they are very helpful. Drupal is a complicated beast and there are a lot of people apart form your mentor who are willing to help, it would also be faster at times when your mentor might not be available. I took a lot of help from the community during my project and the community really helped around.

I’m glad to have taken part in this year’s summer of code and I will remember this experience forever. A big thanks to my mentor Jingsheng Wang (skyred) and the Drupal community for their support as well as Avantika Agarwal for proofreading my blog and documents related to Summer of Code. I will continue with what I started this summer of code and try to learn and share as many things as I can.

Thank you!

Comments

Hey exceptional blog! Does running a blog such

as this require a great deal of work? I've virtually no understanding of programming but I was hoping

to start my own blog in the near future. Anyway, should you

have any suggestions or tips for new blog owners please share.

I understand this is off subject nevertheless I just needed to ask.

Thanks a lot!



Visit my web blog ... old school new body reviews

I love waist trainer for women, and I love these words: This would probably be the last coding I will be doing during Summer of Code, but it’s not last related to Drupal or my project as I plan to continue it’s development after GSoC as well and hopefully I get to stick around Drupal for a long time.

Hey just wanted to give you a quick heads up. The text in your article seem to be running off the screen in Safari.

I'm not sure if this is a formatting issue or something to do with internet browser compatibility but I figured I'd post to let you know.

The design look great though! Hope you get the problem fixed soon. Thanks



Here is my webpage; Old school new body review

hello there and thank you for your information – I've definitely picked up anythin new from right here. I did however expertise some technical points usin this web site, as I experienced to reload the site lot of times previous to I could get it to load correctl I had been wondering if your web host is O Not that I am complaining, but slow loading instances times will sometime affect your placement in google and could damage your qualit score if advertising and marketing with Adword Well I'm adding this RSS to my email and can look out fo a lot more of your respective fascinating conten Make sure you update this again soo my blog ... old school new body review

Pretty section of content. I just stumbled upon your

blog and in accession capital to assert that I get in fact enjoyed account your

blog posts. Anyway I will be subscribing to your feeds and even I achievement you

access consistently rapidly.



my weblog ... old school new body reviews (Emilio)

I was curious if you ever thought of changing the page layout

of your website? Its very well written; I love what youve got to say.

But maybe you could a little more in the way of content so people

could connect with it better. Youve got an awful lot of text for only having one or 2 images.

Maybe you could space it out better?



Here is my homepage ... old school new body review (Sanford)

Greetings from Idaho! I'm bored at work so I decided to check out your blog on my

iphone during lunch break. I enjoy the info you present here

and can't wait to take a look when I get home.

I'm amazed at how fast your blog loaded on my cell phone ..

I'm not even using WIFI, just 3G .. Anyways,

excellent site!



My webpage - best diet for female over 50; http://myarticleworld.net,

I have been exploring for a little bit for any high-quality

articles or blog posts in this sort of area .

Exploring in Yahoo I at last stumbled upon this website.

Reading this information So i'm glad to convey that I have a very just right uncanny feeling I found out just what I needed.

I such a lot unquestionably will make certain to don?t put

out of your mind this site and provides it a glance on a constant basis.





My blog - old school new body user reviews

Definitely believe that which you stated. Your favorite justification seemed to

be on the net the easiest thing to be aware of.

I say to you, I certainly get irked while people consider

worries that they plainly do not know about.



You managed to hit the nail upon the top as well as defined

out the whole thing without having side effect , people can take a signal.

Will probably be back to get more. Thanks



Here is my blog; best diet for women over 50

ninest123

"Technically louis vuitton outlet online beats headphones it's louis vuitton outlet online swarovski close air max mac cosmetics to air jordan shoes louis vuitton handbags the pandora uk oakley glasses limits polo ralph lauren outlet moncler outlet that discount oakley sunglasses p90x we gucci bags lululemon outlet online have air max 2015 kate spade set supra shoes gucci outlet online in ferragamo belts cheap oakley terms michael-korsoutletonline.eu.com canada goose of converse pas cher hermes pas cher temperature, moncler hollister so longchamp outlet online ugg boots that's true religion jeans jordan shoes something michael kors outlet ugg soldes which longchamp outlet online oakley we air max michael kors did mulberry bags jordan future not hollister ferragamo shoes experience uggs outlet longchamp soldes before," louis vuitton outlet longchamp uk he roshe run pas cher iphone cases said jordans canada goose jackets via polo ralph lauren hogan outlet Skype burberry uggs from ugg pas cher air huarache mission wedding dress montre pas cher control christian louboutin lancel pas cher in wedding dresses michael kors Monaco.

"But www.michael-korsoutletonline.eu.com louboutin with jordans for sale coach handbags the nike air max pas cher michael kors outlet temperature nike blazer nike roshe uk profile moncler outlet ugg uk that ralph lauren pas cher polo ralph lauren pas cher we louis vuitton true religion jeans see p90x3 rolex watches over nike trainers uk abercrombie the juicy couture outlet ray ban coming air max ugg boots days, replica rolex uggs outlet we nfl jerseys new balance should replica watches moncler outlet be karen millen uk nike free run uk all louis vuitton canada cheap ugg boots fine."

The ray ban pas cher ugg boots clearance plane marc jacobs louis vuitton set michael kors outlet online sale michael kors out celine bags gucci handbags on louis vuitton uk lululemon outlet March lululemon nike free run 9, christian louboutin shoes ray ban sunglasses 2015 hermes handbags ralph lauren polo from nike blazer pas cher nike air max Abu nike air max jordan pas cher Dhabi, marc jacobs handbags uggs crossing nike huaraches canada goose outlet Asia michaelkors-outlet-store tory burch outlet and michael kors pas cher michael kors bags the prada shoes oakley vault Pacific sac guess ralph lauren outlet to karen millen prada outlet reach nike store michael kors purses the nike free cheap oakley sunglasses United nike trainers christian louboutin outlet States north face jackets rolex watch and oakley sunglasses outlet cheap gucci then michael kors canada hogan flying kate spade handbags canada goose on true religion air max to longchamp bags ralph lauren uk Spain nike roshe michael kors outlet and nike air max uggs on sale Egypt tiffany and co north face jackets with new balance shoes hogan sito ufficiale the louboutin louis vuitton bags sun north face jackets christian louboutin uk as sac michael kors jimmy choo outlet its jimmy choo swarovski crystal only jimmy choo shoes vans outlet source canada goose pas cher burberry of longchamp ray ban sunglasses power.

Prince burberry valentino shoes Albert juicy couture michael kors outlet online of nike free run nike free run pas cher Monaco, ugg bottes ugg pas cher a burberry pas cher coach factory outlet patron wedding dresses oakley of mcm handbags oakley sunglasses the michael kors outlet online nike tn pas cher project, uggs abercrombie and fitch uk gave soccer shoes prada handbags the tiffany jewelry nike air max 2015 flight bottes ugg michael kors outlet online sale the fake rolex north face pas cher go-ahead nike outlet store coach outlet store from michael kors jordan retro 11 its hollister ugg outlet mission replica handbags cheap nike shoes control hollister canada moncler sito ufficiale centre louboutin outlet converse shoes in michael kors handbags lululemon Monaco, chi flat iron nike air huarache telling longchamp bags cheap uggs Piccard lululemon outlet oakley sunglasses cheap "you guess pas cher oakley vault are moncler jackets beats by dre released kate spade outlet moncler to mulberry north face outlet online proceed."

Borschberg mont blanc pens polo ralph lauren and burberry outlet oakley sunglasses Piccard nike factory new balance have burberry sale baseball bats said christian louboutin celine handbags they lululemon canada louis vuitton pas cher want hollister the north face to uggs outlet tiffany jewelry raise hollister uk nike roshe run awareness polo outlet sac louis vuitton of ugg boots iphone case renewable ray ban louis vuitton outlet energy michael kors outlet louis vuitton sources babyliss pro jordan 6 and true religion outlet vans technologies jordan 3 michael kors outlet with north face moncler their longchamp pas cher lunette oakley pas cher project, michael kors outlet canada louis vuitton although nike air max ugg australia they polo ralph lauren outlet uggs outlet do louis vuitton montre femme not oakley sale ugg boots clearance expect uggs hermes belt solar-powered air max swarovski jewelry commercial pandora charms canada goose outlet planes north face outlet montre homme any ugg boots hermes birkin time ralph lauren outlet canada goose soon.

"There phone cases sac burberry will louis vuitton uggs be louis vuitton handbags pandora jewelry passengers polo ralph lauren uk instyler very ralph lauren outlet online uggs canada soon babyliss ray ban outlet in jordan 1 coach outlet electric michael kors outlet online coach outlet online airplanes cheap oakley sunglasses michael kors handbags clearance that coach outlet store online michael kors handbags we north face uk ugg will oakleysunglasses2.us.com timberland pas cher charge tory burch outlet online nike air max 2015 on louboutin outlet canada goose jackets the mulberry uk nike tn ground," vanessa bruno air jordan Piccard jordan xx9 sac louis vuitton pas cher had lululemon outlet canada bottes ugg pas cher said burberry outlet nike shoes when canada goose outlet canada goose jackets the ray ban uk nike roshe run pas cher plane air max uggs arrived hermes bags air force in uggs on sale ugg Cairo.

"On new jordans ugg the gucci lancel ground coach bags rolex replica you michael jordan shoes hollister clothing store can louis vuitton ugg soldes charge canada goose longchamp outlet batteries ralph lauren christian louboutin shoes and moncler moncler you bottega veneta michael kors outlet can oakley pas cher uggs have instyler ionic styler moncler jackets short pandora jewelry coach outlet haul coach outlet store online hermes flights, louboutin pas cher bottes ugg maybe ralph lauren michael kors canada 500 coach purses jordan 4 kilometres ray ban sunglasses outlet louboutin with nike factory outlet ray ban sunglasses 50 vans scarpe nike air force people michael kors handbags rolex replica watches flying oakley sunglasses cheap ray ban sunglasses in canada goose uk http://www.michael-korsoutletonline.eu.com/ these jordan 11 abercrombie and fitch planes" longchamp handbags michael kors in polo lacoste pas cher ugg a louboutin north face outlet decade, new balance outlet michael kors handbags he louis vuitton abercrombie predicted.

It lacoste pas cher ghd hair typically mulberry handbags louis vuitton outlet travels nike roshe reebok outlet at michael kors outlet online sale longchamp outlet a links of london uk tn pas cher mere gucci shoes tiffany and co 48 ugg italia longchamp bags kilometres replica watches uk links of london (30 wedding dresses uk pandora charms miles) christian louboutin michael kors per nike roshe run uk abercrombie hour, soccer jerseys vans shoes although sac lancel michael kors outlet its louboutin shoes oakley sunglasses wholesale flight chaussures louboutin cheap nfl jerseys speed michael kors lunette ray ban pas cher can polo ralph lauren ugg boots double nike air max thomas sabo when longchamp doudoune canada goose exposed longchamp handbags longchamp to north face outlet air max full oakley vault ghd hair straighteners sunlight.

Piccard, oakley sunglasses jerseys a vans ghd psychiatrist asics outlet air jordan retro who true religion jeans kate spade outlet online had louis vuitton outlet nike air max made michael kors outlet online cheap oakley sunglasses the rolex watches longchamp outlet online first converse ghd straighteners non-stop sunglasses outlet swarovski uk balloon timberland michael kors outlet online sale flight ray ban abercrombie and fitch around nike huarache sac louis vuitton the polo ralph lauren louboutin world mulberry outlet converse in mont blanc true religion outlet 1999, canada goose outlet vanessa bruno pas cher said burberry handbags timberland boots the oakley store new balance pas cher last oakley sunglasses cheap moncler uk leg moncler jackets air jordan of ugg pas cher ugg boots uk the louis vuitton outlet stores michael kors outlet online Solar canada goose coach outlet Impulse michael kors the north face 2 red bottom shoes hollister tour nike free run sac vanessa bruno would moncler vans pas cher be rolex watches for sale asics shoes difficult.

"It's gucci belts hollister pas cher a uggs outlet polo ralph lauren outlet online very, hollister clothing tory burch very true religion outlet moncler outlet hot ugg boots clearance nike air max region... oakley vault fake oakleys its nike air max uk chanel handbags going thomas sabo uk polo ralph lauren outlet to abercrombie and fitch air jordans be jordan 5 christian louboutin outlet an replica watches true religion jeans exhausting nike air max uk ugg outlet flight," moncler nike roshe run he nike free uk nike sneakers said.

Borschberg doudoune moncler coach factory told louboutin michael kors uk journalists nike roshe canada goose outlet that longchamp air jordan 11 the ralph lauren outlet oakley outlet heat cheap jordans nike outlet would oakley sunglasses nike roshe run be air max pas cher coach outlet a hollister air jordan pas cher new toms outlet burberry factory outlet challenge gucci outlet nike free pas cher for abercrombie herve leger the cheap ugg boots outlet moncler plane.

ugg outlet longchamp abercrombie moncler pas cher scarpe hogan replica watches canada goose jackets ugg boots louboutin shoes longchamp pliage uggs on sale p90x workout michael kors bags nike free sac longchamp birkin bag michael kors outlet online canada goose cheap oakley sunglasses true religion outlet ralph lauren jordan retro nike free sac hermes polo lacoste insanity workout christian louboutin louis vuitton purses longchamp pas cher cheap sunglasses sac longchamp pas cher burberry outlet online air max 2015 burberry outlet online reebok shoes toms shoes north face longchamp outlet jordan 12 louboutin uk retro jordans michael kors ninest123

It was a very good post indeed. I thoroughly enjoyed reading it in my lunch time. Will surely come and visit this blog more often. Thanks for sharing. imo download