[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

I am GCI participant and would like to interview you . It will be a great pleasure for me if you please revert me ASAP as I am running short of time .You can also mail me at code.deepanshu@gmail.com

 

I am sure that you will have got rid of the problem but I woul like to share the benefit of drupal for the students that they can have a maximum practice through writesmyessay.org on this plat form and can share their skills with other readers and can get their views as well.

Typing was one of the most hard work to perform in early days. But, with the passage of the time typer got several typing software and get positive approach with ease to type. Typeressay is person who has been facilitated a lot.

We provides two primary ways to find freelance opportunities. You can advertise your freelance services directly to interested employers, or you can search our project database and submit bids for the projects on which you would like to work.

Freelance jobs​

A uncomfortable, so don't be afraid to decrease the intensity or volume of your lifts. Just make sure you're going through full range of motion and keeping good form. TAKE RECOVERY-BOOSTING SUPPLEMENTS Supplements won't magically make your soreness disappear, but they can help minimize some of the pain and discomfort. For example, you could also opt for extra protein pre- and post-workout. Whey and casein are both great options to have before and after training to help speed up the . http://absworkout-men.com/

HRM thesis help HR Assignment, Essay & Homework Help Human Resource Management Thesis Help (HRM Thesis Writing Service) Human resource is an academic discipline that has many other sub disciplines.

Thanks for such nice article about Concluding Summer of Code.

<a href="http://www.technomakes.net/2016/04/how-to-create-animated-videos-free-from.html">create animated videos</a>
<a href="http://www.technomakes.net/2016/04/how-to-create-animated-videos-free-from.html">funny animated videos</a>
<a href="http://www.technomakes.net/2016/04/how-to-create-animated-videos-free-from.html">animated love messages</a>
<a href="http://www.technomakes.net/2016/04/how-to-create-animated-videos-free-from.html">create video animation</a>
<a href="http://www.technomakes.net/2016/04/how-to-create-animated-videos-free-from.html">make a animated video</a>
<a href="http://www.technomakes.net/2016/04/how-to-create-animated-videos-free-from.html">animated video creator</a>

 

I am really very excited after getting the clash of clans free gems hack with the help of which i was allowed full access in playing clash of clans as it is the best platform for the entertainment.When i grabbed it i acquired the whole world in it as i crossed all its difficult much easily.It not only helped me in playing this game much comfortably but i groomed my mental skills also as i made strategy in such a way that i trained my troops in such in such a way that they won all the battles against the enemies.

Engineering as a subject combines mathematics, logic and science to find solutions to our daily life problems. Over the last few decades, engineering as a profession has seen vast expansion.
Engineering college in North India
Top B Tech college in Chandigarh
Best MBA college in Punjab
Top Engineering college in Chandigarh
Computer Science Engineering college in Punjab
Highest package in campus placement


The AF1 manage the NFL Network is for one year, with a system alternative for a brief moment year. The NFL Network will air a 'round of the week' each Friday night starting in April. 


The AF1 manage the NFL Network is for one year, with a system alternative for a brief moment year. The NFL Network will air a 'round of the week' each Friday night starting in April. <a href="https://frenchopen.live">french open live</a>

Hi there! I am so grateful that I found your blog. This is a very good post which I am looking for. thanks for posting. I think this site will also a better site for downloading Bollywood movies.   Waiting Full Hindi Movie Free Online Download

What a great post! I am so grateful that I found your blog. This is a very good post which I am looking for. thanks for posting. I think this site will also a better site for downloading Bollywood movies.  Ted-2 Full Movie Watch Online 1020p Download SCR


What a great post! I am so grateful that I found your blog. This is a very good post which I am looking for. thanks for posting. I think this site will also a better site for downloading Bollywood movies.   Watch The Angry Bird Full Movie 1020p Online

What a great post!  I am so delighted to see that & feeling so cool because I found your blog. I really admire the dedication you put into offering the in depth information for free. This is a very good post which I am looking for. thanks for posting. I will definitely come back to your website for more. Keep up the good work..Housefull 3 Full Movie Download Dailymotion

Hi there! I am so grateful that I found your blog. This is an awesome post which I am looking for. Thanks for posting. I expect many awesome tips from you. I think you will give us many tips in future that will helps me to improve my job to develop the content and seo of this website.Ae Dil Hai Mushkil Movie Full Download MKV

What a great post! I am so delighted to see that & feeling so cool because I found your blog. This post give me so deep information which I am looking for. Thanks for posting. I expect many awesome tips from you. I think this site is also a better site for downloading Bollywood movies.Watch Te3n Full Hindi Movie Online Download mp4

 

but Lexington Law by Progrexion is equipped with comes with has provides you with the right paralegal expertise that can that may that will that could save you from such a this type of this kind of a real credit trap The major stakeholders in this within this on this with this Medicare issue are the would be the will be the include the federal government, politicians, Medicare recipients, physicians, hospitals, 

 

 

POKER ONLINE

DOMINO 99

BANDAR Q

BANDARQ

AGEN DOMINO QIU QIU

AGEN POKER

Hi there! Someone in my Facebook group shared this website with us so I came to give it a look.

I'm definitely enjoying the information. I'm book-marking and will be tweeting this to my followers!

Outstanding blog and wonderful style and design.

http://www.tangga-monyet.com/



Visit my blog post; cara membuat blog

The database nonce is a great idea. The language sounds intrinsic in nature and the codes are certainly the right way to go about it. paper help. I believe in the technological era of computer programming, one needs to write the correct codes in order to yield the right results; else you might have to go back to the drawing board every now and then. I enjoyed the article. Great job and thanks for sharing.

Hello there, just became alert to your blog through Google, and found that it's

really informative. I am going to watch out for brussels.

I will appreciate if you continue this in future.

Lots of people will be benefited from your writing.

Cheers!



my web page - sole e20

My partner and I absolutely love your blog and find most of your post's

to be precisely what I'm looking for. Would you offer guest writers to write content for yourself?

I wouldn't mind publishing a post or elaborating on many of the subjects you

write concerning here. Again, awesome blog!



Feel free to visit my blog post what eat for good health (Wendell)

We are a group of volunteers and starting a new scheme in our community.



Your website provided us with valuable info to work on. You have

done a formidable job and our whole community will be thankful

to you.



my blog post :: great healthy foods (Rachelle)

I'm amazed, I have to admit. Rarely do I come across a blog that's both educative

and interesting, and let me tell you, you have hit

the nail on the head. The issue is an issue that not enough folks are speaking intelligently about.

I am very happy I found this during my hunt for something relating

to this.



Feel free to surf to my web blog; vegetarian meals

Hmm it appears like your site ate my first comment (it was super long) so I guess I'll just sum it up what

I wrote and say, I'm thoroughly enjoying your blog.

I too am an aspiring blog writer but I'm still new to the whole thing.

Do you have any tips and hints for first-time blog writers?

I'd certainly appreciate it.



Also visit my web-site :: meatless pasta sauce