Friday, April 5, 2013

Book Review: Spring Security 3.1

I haven't written any tutorials for my blog since December because of a new job I just got in Chicago. And today I won't be sharing any new tutorials as well. But don't despair because I will be sharing my review of another Spring book: Spring Security 3.1 by Robert Winch and Peter Mularien and published by Packt Publishing. You can find the book at http://www.packtpub.com/spring-security-3-1/book for $25.49.

It may sound that I'm selling, but I'm not. I'm actually promoting this book because it's a great reference that will help all developers regardless of expertise. In addition, the book is written by Robert, the project lead for Spring Security and by Peter, the author of the Spring Security 3 book. That means you're getting your information from the source and experts!

What's good about this book?
The book is fully packed with information regarding various aspects of Spring Security and integration steps with different scenarios, such as:


  • Basic Spring Security configuration
  • OpenID integration
  • Access Control List (ACL)
  • JDBC-based configuration
  • Remember-me services
  • LDAP-based authentication
  • Single Sign-on services
  • JSF and GWT integration
  • and many more

I like how the introduction starts with a fictitious company and enumerates the reasons why you may need to secure an unsecured application. There's an index that shows how to load the sample projects in STS and configure Tomcat along with SSL. If you have read the previous Spring Security 3 book, you might find the contents somewhat similar.

For me the most interesting chapters are Chapter 3: Custom Authentication and Chapter 10: Fine-grained Access Control because both chapters provide information on how to adapt Spring Security to match any project requirements.

What's bad about this book?
I believe the glaring problem of this book is it doesn't describe a whole project in any of its chapters. Mostly the chapters are focus on each aspect of Spring Security. They are detailed, but it's hard to see the overview or the general outlook of the chapter. Maybe because I'm used to the way I present my blog, and I prefer to have a full project laid out. Then describe each section part-by-part. Though there are samples in the book, but it's up to the reader to comprehend the whole project. But overall, this book is a great reference.
StumpleUpon DiggIt! Del.icio.us Blinklist Yahoo Furl Technorati Simpy Spurl Reddit Google I'm reading: Book Review: Spring Security 3.1 ~ Twitter FaceBook

Subscribe by reader Subscribe by email Share

50 comments:

  1. I read it and agree with you. Your tutorials on the subject are great resources to use with the book.

    ReplyDelete
  2. Thanks for the tip on the book. This may help me understand Spring Security better. Right now I just use grails in my projects, which hides so many details about the underlying framework.

    ReplyDelete
  3. Then describe each section part-by-part. Though there are samples in the book, but it's up to the reader to comprehend the whole project. But overall, this book is a great reference. WOW Gold
    Gold Kaufen für World of Warcraft

    ReplyDelete
  4. Dear sir,

    I'm working with CAS Single sign-on using Spring Security. I have a problem:

    I have 2 app: app1 and app2 using CAS Server

    In browser (Firefox) and I open 2 tabs on this browser.

    Then, paste address to login app1(using user1) and app2 (using user2)on each this tabs.

    Next, app1 login, generate it's Ticket Granting Cookie(TGC).

    After app2 login, generate it's Ticket Granting Cookie and override app1's TGC.

    On app1, I have a link, when click it, it will open a tab of app2.

    I would like app2 login with user 1 but not so.


    Help me.

    Thanks very much

    ReplyDelete
  5. Thanks for those great tutorials. An advise for http://krams915.blogspot.com.es/2010/12/spring-3-mvc-using-modelattribute-in.html

    After imported as maven project in Eclipse, you can get this error:
    The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

    You should include servlet-api-3.1.jar in your dependencies in pom.xml:


    javax.servlet
    javax.servlet-api
    3.1.0
    provided

    ReplyDelete
    Replies
    1. I meant:

      <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>javax.servlet-api</artifactId>
      <version>3.1.0</version>
      <scope>provided</scope>
      </dependency>

      Delete
  6. Really something grate in this article ,Thanks for sharing this. We are providing JAVA courses training online. After reading this slightly am changed my way of introduction about my training to people. And also refer my website for JAVA Training and solutions of JAVA applications. Please Visit Us @ JAVA training courses online

    ReplyDelete
  7. This is extremely helpful info!! Very good work. Everything is very interesting to learn and easy to understood. Thank you for giving information.
    Signature:
    i like play games friv4 Download baixar facebook movel

    ReplyDelete
  8. Hi please write tutorial for sitemesh integration into spring boot .

    ReplyDelete

  9. Thanks for sharing this quality information with us. I really enjoyed reading. I think I need it.
    Games for girls|
    Kizi 1|
    Kizi 2

    ReplyDelete
  10. Great article! I loved the insight and advice given. Further, your blogging style is very fun to read. If you have enough time please explore my brand new blog and let me know what you think.
    happy wheels
    super mario bros
    pacman
    agario

    ReplyDelete
  11. Thanks for sharing the information. It is very useful for my future. keep sharing
    Kizi 123|
    Friv 234|
    Friv

    ReplyDelete
  12. Thanks for sharing your info. I really appreciate your efforts and I will be waiting for your further write
    Kizi 123|
    Friv 234|
    Friv|

    ReplyDelete
  13. Thanks for your great article friend, i get new information, new ideas to do somethings, i hope you will share again, i keep waiting for next post, thanks.
    Friv 4
    Kizi 3

    ReplyDelete
  14. I would like more information about this, because it is very nice., Thanks for sharing.
    Friv 10

    ReplyDelete
  15. Nice Information you have written here. Really Great Stuff. I keep it bookmark for our future purpose.

    We are also Web development Company in India who provide the services in Android App Development in Nagpur , SEO Company in Nagpur , Ecommerce Website Development in Nagpur. Visit Us today

    AceZed IT Solution

    ReplyDelete
  16. Thank you for sharing a great information and useful. it really necessary and timely for me at this time. I wanted to share this information with my friends on the social network facebook.!
    Friv 10000
    Friv

    ReplyDelete
  17. When you develop a Java EE enterprise application Spring Security (Java Training Institutes in Chennai ) is an essential concept. This book ( Java EE Training) is really good to learn Spring Security. The prerequisites (Java Training in Chennai) is configure Tomcat along with SSL.

    ReplyDelete
  18. This is something special! never seen this before! thank you
    Friv

    ReplyDelete
  19. You need to kill time, you need entertainment. Refer to our website. hope you get the most comfort.
    Thanks you for sharing!
    Yepi
    Kizi
    Friv
    Friv Games

    ReplyDelete
  20. you'd have time to look these kids active. Please visit our website and let us play the game interesting.
    Thanks for sharing !
    Friv 10
    Kizi 10
    Yepi 2

    ReplyDelete
  21. You are stressed and tired, you need entertainment. Refer to our website. hope you get the most comfortable.
    Kizi 4

    ReplyDelete
  22. You are stressed and tired, you need entertainment. Refer to our website. hope you get the most comfortable.
    Kizi 4

    ReplyDelete
  23. you'd have time to look these kids active. Please visit our website and let us play the game interesting.
    Thanks for sharing !
    Friv 10
    Kizi 10
    Yepi 2

    ReplyDelete
  24. I would very much like to agree with the previous commenter! I find this blog really useful for my uni project. I hope to add more useful posts later.
    Friv 100

    ReplyDelete
  25. You need to kill time, you need entertainment. Refer to our website. hope you get the most comfort.
    Thanks for sharing !
    Friv 5
    Kizi 1
    Yepi 3

    ReplyDelete
  26. thank you for your interest in welcome visit
    Friv 4

    ReplyDelete
  27. thank you for your interest in welcome visit
    Friv 4

    ReplyDelete
  28. New attractive game . I will play it every day
    Friv|
    Friv 2

    ReplyDelete
  29. I think everyone should know such information like you have described on this post. Thank you for sharing this explanation.Your final conclusion was good. We are sowing seeds and need to be patiently wait till it blossoms.

    Java training in Chennai

    ReplyDelete

  30. Your blog is awesome..You have clearly explained ...Its very useful for me to know about new things..Keep on blogging..
    Java training in Chennai

    ReplyDelete
  31. When you're tired, you want to relax after a stressful working hours, you need to have time to take care of the kids active.
    Please visit our website and play exciting flash games.Thanks you for sharing!
    Friv 4

    ReplyDelete
  32. Thanks for posting this useful info. It really helped me!!!
    Friv
    Friv.com
    Friv 2016

    ReplyDelete
  33. Play the Best Free Games! We've picked out the racing games, cooking games, candy crush, games shooting, fashion games, ...
    Thanks for sharing !
    Kizi 200
    Friv 1
    Y88
    Y9

    ReplyDelete
  34. The war between humans, orcs and elves continues. Lead your race through a series of epic battles, using your crossbow to fend off foes and sending out units to destroy castles. Researching and upgrading wisely will be crucial to your success!
    age of war 3 | age of war 2 | unfair mario 2 | tank trouble 3 | tank trouble
    The game controls are shown just under . Movement mechanisms primarily include acceleration and tilting controls.
    cubefield | tank trouble | happy wheels | slitherio | gold mine

    ReplyDelete
  35. You want to relax after a stressful working hours. Refer to our website. hope you get the most comfort.
    Thanks for sharing !
    Friv 100
    Friv 8
    Friv 2

    ReplyDelete
  36. slitherio
    Tank trouble| happy wheels| Strike Force Heroes
    This is an evolutionary strategy game that pits you against alien invaders. You begin the game in the Stone Age, with just a base and some money. Select your base to view the available building options and spend your money wisely. Buy buildings that will spawn offensive units and gatherers, as well as turrets to bolster your defenses. You can upgrade your buildings so that they produce more effective units and spawn them at a faster rate.
    We are really grateful for your blog post. You will find a lot of approaches after visiting your post. Great work.
    happy wheels|
    strike force heroes | tank trouble 2

    Fireboy and Watergirl arrived again to the temple in the forest. 2 players together can help them to find their way out.
    fireboy and watergirl| fireboyandwatergirl| fireboy and watergirl 2
    goodgame empire

    ReplyDelete
  37. Welcomes to google terminal keep sharing such ideas in the future as well.
    google snake this was actually EARN TO DIE
    what i was looking for,and i am glad to came here! AGE OF WAR 2
    Hi! I’ve been reading your blog for a while HAPPY WHEELS
    I want you to thank for your time of this wonderful read!!! Slitherio
    Amazing insight you have on this, Slither io This article always blew me BIG FARM

    ReplyDelete
  38. This is the game so players feel very fierce , adventurous . You try to join and play this game , you will feel great like.
    age of war | tank trouble 2 |earn to die
    gun mayhem | gun mayhem 2
    slitherio | slither.io | slither io
    can your pet | Red Ball | | duck life
    Gmail.com by Google is one of the most popular email services nowadays which lets you send emails to your friends, relatives, business partners wherever they are (the only thing they need is the Internet)
    gmail sign in | create a gmail account
    Gmail login

    ReplyDelete
  39. You want to relax after a stressful working hours. Refer to our website. Hope you get the most comfort.
    Thanks for sharing !
    GirlsGoGames
    Kizi 100
    Frvi

    ReplyDelete

  40. Thank you for taking the time to provide us with your valuable information. We strive to provide our candidates with excellent care and we take your comments to heart.As always, we appreciate your confidence and trust in us.


    SAP Training in Chennai

    ReplyDelete
  41. You want to relax after a stressful working hours. Refer to our website. Hope you get the most comfort.
    Thanks for sharing !
    GirlsGoGames
    Kizi 100
    Frvi

    ReplyDelete
  42. Someone essentially lend a hand to make severely posts I would state. That is the very first time I frequented your website page and thus far? I surprised with the analysis you made to create this particular submit incredible. Fantastic job!

    SMO Services Chennai

    ReplyDelete
  43. The article you have shared here very awesome. I really like and appreciated your work. I read deeply your article, the points you have mentioned in this article are useful
    swords and souls | strike force kitty 2 | red ball 4 | ninjago games

    ReplyDelete
  44. Great info. I love all the posts, I really enjoyed, I would like more information about this, because it is very nice., Thanks for sharing.
    red ball 3 | ninjago games | swords and souls game | strikeforce kitty 2

    ReplyDelete
  45. With a Hotmail account, you can send and receive emails quickly and easily as well as login and use all Microsoft services.
    gmail sign in | gmail login
    sign in to hotmail | log in to hotmail

    This is the game is played so great. Invite you to experience it interesting things there.
    strike force heroes 4 | red ball | slitherio
    gun mayhem 2 | can your pet | happy wheels

    ReplyDelete
  46. You need to have time to take care of the kids active. Please visit our website and play exciting flash games.
    Thanks you for sharing!
    Games2Girls
    Kizi 1000
    Frin
    Friv 3

    ReplyDelete