Several years ago a I wrote a book on JAAS, the Java Authentication and Authorization Service. I really liked the idea of JAAS before writing the book, and loathed it after writing the book. The design was nifty, but the implementation made using it tedious. The publisher decided not to publish the book after the initial round of technical reviews, best summarized by one review I remember, “this is fine, but I wouldn’t pay $50 for it.”
Thankfully, the rights for the book are now all mine, so I’ve put them up free for several years. My old website is currently down, so I’m moving it to this blog.
This blog will contain a blog entry per chapter once I convert them accordingly. Until then, here’s a zip file of all the chapter PDFs and a zip file of the source code.
If you find this at all useful, please leave a comment below: it’s great to hear from folks!
December 31, 2009 at 8:40 am |
thanks for sharing.
I will satrt reading the book and try to give feedbacks
January 10, 2010 at 11:01 am |
Thank you for the book !
January 24, 2010 at 10:43 am |
Nice… I’ll read this book carefully… thanks so much for build this effort :).
February 9, 2010 at 12:47 pm |
Hi!
I’m reading the book and i think it’s more useful than jaas reverence guide 🙂
I’m asking if there is an available copy of the source code you are mentioning throughout the book.
however Thanx a lot for you work!
April 29, 2010 at 3:12 am |
Thank you very much for you hard job, it really helped me very much to understand everything about JAAS. JAAS was a black box for me when we first started working with it (of course because client wanted that) but i didn´t released our mistakes where because we didn´t understood it properly before starting working.
I also liked the the way of usage of JAAS and i implemented it in an application, but when i installed it at client it was not working, i still don´t know why, but there was no time to investigate (nothing new in this job) so i had to change the whole login implementation, but thanks to you i have learned alot.
Once more, thank you very much, and wish all the best. You should make you own JAAS certified classes and exams.
August 5, 2010 at 9:31 pm |
how can I integrate JAAS in jaasrealm in tomcat 6.0, your guidance would be appreciated.
August 24, 2010 at 5:29 am |
thx much for the book.
September 5, 2010 at 1:51 am |
Hi,
First of all, Thanks a lot to provide jaas book pdf and code, it is very helpful for me. but there is some information missing or i missing something? May u explain more about following points :
1. server.xml ( we have to change tomact server.xml file or we can add our own server.xml in web application, if yes please tell me where to put and how to use?)
2. .properties file (how to use it and where to put this in our web application, i want to use mysql server for webapplication)
3. build.xml (How to use it and what is the use of?)
Thanks in advance…reply soon please
Arun Singh
January 13, 2011 at 11:32 am |
Congratulations, Great work!
February 1, 2011 at 4:26 am |
Thanks !
Just starting on JAAS and this is the first thing that I am going to read.
Thanks for making your work available.
– Anup.
February 14, 2011 at 4:30 am |
Hi,
I’ve just downloaded your book and even before looking at it I want to thank you for sharing your knowledge. May I be able to do the same sometime!
Cheers,
Guifre
February 17, 2011 at 9:51 am |
Thanks a million for this. I am finding your book really useful and I am just wondering why on earth did it never get published!!! I mean..Manning has published so much worse. 🙂
February 18, 2011 at 4:07 pm |
Thanks for providing this resource, it’s really generous of you to do this. I’ve gone through the first chapter, will read the rest on the weekend and follow up.
February 20, 2011 at 6:47 am |
It’s great. Thanks the person who wrote that book. It’s so helpful
Sorry I don’t know your name. But thanks again
March 18, 2011 at 11:57 am |
Great Work!!!
Thanks!!!
March 27, 2011 at 11:36 pm |
Hi~ Thank you so much for your freebook.
I just downloaded but i thought it’s great!
Can I ask you how to execute the Ch9 code with your source code?
Thanks again..
May 24, 2011 at 5:06 pm |
Tanks, the book is great. This book showed me the funcionality of JAAS and how to use it. The problem is that JAAS is something complicated and has been replaced by other librarys easier to use like Spring Security or Apache Shiro.
Excuse me my english, it isn’t my native language.
June 4, 2011 at 6:20 am |
Hey dude nice work.I found this very useful.. Dunno why you got tired of it when you finished..
August 11, 2011 at 8:26 am |
Yes the book was very useful, since I had to understand the basic work of JAAS and the way to use it.
Basically a life saver 😉
September 14, 2011 at 1:46 am |
Very nice of you to do this. I hope this does encourage you to prepare for your next book 😉
September 14, 2011 at 2:30 pm |
The book is quite interesting and I found it useful to teach parts from it in my class.
October 8, 2011 at 9:08 am |
Hi
Your book and examples are very good and I would like to buy a hard copy of your book.
Regards
Senthil
October 15, 2011 at 11:23 am |
Surprised to see such a treasure lying here. Even more surprised to see that no one has bothered to comment.
Mirror and google don’t lie, I landed here and found exactly what I was looking for. Armed with this wealth, I hope to finish my work sooner.
Never mind the publisher, I would have paid $50 for this.
Did I forget to thank you explicitly?
November 16, 2011 at 5:33 pm |
Nice book. It’s not easy to find detailed and comprehensive documentation with many examples like in your book. Thank you for making it free…
January 17, 2012 at 8:13 am |
Hie..
Before I read this book i think its very worthy …
Because i work on Building Access Control for Multi-Agent System Jade I need this information, so I down load the book and post thanks for you….
With my best withes…
March 8, 2012 at 12:06 pm |
dear author,
thank you for the book.
just what i needed. Apache Shiro is good but i want to use standard apis. thanks.
Daniel (from Ghana)
March 25, 2012 at 6:06 am |
thank you 🙂
May 7, 2012 at 11:43 am |
Thank You Very Much… Its a great book and it was very helpful in understanding JAAS concepts.
May 14, 2012 at 7:56 am |
how do you want people to reference this material?
June 28, 2012 at 2:47 am |
Thank you for your book.
August 8, 2012 at 9:53 pm |
Hey thanks for the book!
August 25, 2012 at 8:03 am |
Hi;
thanks for the best book!
November 4, 2012 at 12:06 am |
Tks for the book look great..
December 16, 2012 at 10:13 pm |
Thanks for sharing.
January 3, 2013 at 2:37 pm |
I thank you too for this book!
Know that when a publisher doesn’t want to publish, you have now leanpub (https://leanpub.com/)
February 6, 2013 at 3:13 pm |
Thanks for the book. It explains the concept well. I was hoping to find something about using JAAS with EJBs.
March 7, 2013 at 12:25 pm |
thank you coté it’s really an amazing book, just released the burden on us of the security.
Abdellatif from morocco
March 12, 2013 at 12:43 pm |
Hello!
Thanks for your book!
I have a question – where is chapter 11? Source code archive contains package for chapter 11, but it does not present in book archive.
April 2, 2013 at 10:22 pm |
It’s really a winderful book, i was searching for days for such guide, maybe you should donate this to jaas framework team
August 13, 2013 at 9:00 am |
Just came across the book. Thanks for sharing your knowledge.