Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Spring MVC Cookbook

You're reading from   Spring MVC Cookbook Over 40 recipes for creating cloud-ready Java web applications with Spring MVC

Arrow left icon
Product type Paperback
Published in Feb 2016
Last Updated in Feb 2025
Publisher
ISBN-13 9781784396411
Length 466 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Alexandre Bretet Alexandre Bretet
Author Profile Icon Alexandre Bretet
Alexandre Bretet
Alex Bretet Alex Bretet
Author Profile Icon Alex Bretet
Alex Bretet
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Setup Routine for an Enterprise Spring Application FREE CHAPTER 2. Designing a Microservice Architecture with Spring MVC 3. Working with Java Persistence and Entities 4. Building a REST API for a Stateless Architecture 5. Authenticating with Spring MVC 6. Implementing HATEOAS 7. Developing CRUD Operations and Validations 8. Communicating Through WebSockets and STOMP 9. Testing and Troubleshooting Index

Introduction

In this chapter, developing the CloudStreetMarket application, we cover two ways of authenticating in a Spring environment.

We believe that only providing Security annotations to restrict controllers and services wouldn't be sufficient to give a big picture of Spring Authentication. It's clearly not possible to feel confident about the Security tools that can be used with Spring MVC, without a few key concepts such as the role of the Authentication object, the Spring Security filter-chain, the SecurityInterceptor workflow, and so on. As it is necessary for configuring OAuth, we will also show you how to set up an Apache HTTP proxy and a host alias on your machine to emulate the cloudstreetmarket.com domain locally.

lock icon The rest of the chapter is locked
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Spring MVC Cookbook
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Modal Close icon
Modal Close icon