Spring and Angular JS: A Secure Single Page Application

Engineering | Dave Syer | January 12, 2015 | ...

Note: the source code and test for this blog continue to evolve, but the changes to the text are not being maintained here. Please see the tutorial version for the most up to date content.

In this article we show some nice features of Spring Security, Spring Boot and Angular JS working together to provide a pleasant and secure user experience. It should be accessible to beginners with Spring and Angular JS, but there also is plenty of detail that will be of use to experts in either. This is actually the first in a series of articles on Spring Security and Angular JS, with new features exposed in each one successively. We'll improve on the application in the second and subsequent installments…

The Login Page: Angular JS and Spring Security Part II

Engineering | Dave Syer | January 12, 2015 | ...

Note: the source code and test for this blog continue to evolve, but the changes to the text are not being maintained here. Please see the tutorial version for the most up to date content.

In this article we continue our discussion of how to use Spring Security with Angular JS in a "single page application". Here we show how to use Angular JS to authenticate a user via a form and fetch a secure resource to render in the UI. This is the second in a series of articles, and you can catch up on the basic building blocks of the application or build it from scratch by reading the first article, or you can just go straight to the source code in Github. In the first article we built a simple application that used HTTP Basic authentication to protect the backend resources. In this one we add a login form, give the user some control over whether to authenticate or not, and fix the issues with the…

This Week in Spring - January 6th, 2015

Engineering | Josh Long | January 07, 2015 | ...

Welcome to another installment of This Week in Spring! I hope your holiday and new year was awesome! It's the beginning of a new year (I almost typed "2014"!), and we've got a lot of great stuff coming this year! Let's see what the internet has been doing this last week in the Spring community.

This Year in Spring - December 30, 2014

Engineering | Josh Long | December 30, 2014 | ...

Welcome to another installment of This Week in Spring! This week, as is our tradition, we'll look back at a few of the big things that made 2014 a wonderful year to be a Spring developer. And, what a year it was!

  • The tail end of last year saw Spring 4 GA and this year saw the Spring 4.1 release just shy of 9 short months after 4.0! Spring 4.x boasts a dizzying array of new features! Java 8 support, Java EE 7 support, new Spring MVC views, JSR 107 support, a powerful resource pipeline and the @Conditional annotation which of course made possible...
  • Spring Boot, whose first 1.0 GA was in April of this year, has seen two epic updates (1.1, and 1.2) since then. Spring Boot's taken the community by storm, spawning all sorts of activity both from our team and, more importantly, from everybody else! The competition have attempted to downplay it, or copy it. Existing Spring users have flocked to it in droves (including the likes of Netflix and Ticketmaster). If you follow this weekly roundup, though, then you need no further evidence of the community's uptake! It's been so much fun watching people blog…

Spring XD 1.1 M2 and 1.0.3 released

Engineering | Mark Pollack | December 23, 2014 | ...

On behalf of the Spring XD team, I am very pleased to announce the second milestone release of Spring XD 1.1 and the 1.0.3 maintenance release.

Download Links:

  • 1.1.0.M2 RELEASE: zip, 1.0.3.RELEASE: zip

The 1.1 M2 release includes bug fixes and enhancements as well as several new features:

This Week in Spring - December 16th, 2014

Engineering | Josh Long | December 17, 2014 | ...

Welcome to another installment of This Week in Spring! In a few short weeks we'll be in 2015! Will that be exciting? Of course. But this week's pretty exciting as well! So much good stuff this week.

This Week in Spring - December 9th, 2014

Engineering | Josh Long | December 10, 2014 | ...

Welcome to another installment of This Week in Spring! In a few short weeks we'll be in 2015! Will that be exciting? Of course. But this week's pretty exciting as well! So much good stuff this week.

Latest Jackson integration improvements in Spring

Engineering | Sébastien Deleuze | December 02, 2014 | ...

Updated on 2015/08/31 with an additional Jackson modules section

Spring Jackson support has been improved lately to be more flexible and powerful. This blog post gives you an update about the most useful Jackson related features available in Spring Framework 4.x and Spring Boot. All the code samples are coming from this spring-jackson-demo sample application, feel free to have a look at the code.

JSON Views

It can sometimes be useful to filter contextually objects serialized to the HTTP response body. In order to provide such capabilities, Spring MVC now has builtin support for Jackson’s Serialization Views (as of Spring Framework 4.2, JSON Views are supported on @MessageMapping

This Week in Spring - December 2, 2014

Engineering | Josh Long | December 02, 2014 | ...

Welcome to another installment of This Week in Spring! This week I'm at the Rich Web Experience in Ft. Lauderdale, FL, joining my pal Matt Stine for a workshop on building microservices with Spring Boot, Spring Cloud and Cloud Foundry.

So, without further ado, let's get to it:

Spring Integration Java DSL (pre Java 8): Line by line tutorial

Engineering | Artem Bilan | December 01, 2014 | ...

Dear Spring Community!

Recently we published the Spring Integration Java DSL: Line by line tutorial, which uses Java 8 Lambdas extensively. We received some feedback that this is good introduction to the DSL, but a similar tutorial is needed for those users, who can't move to the Java 8 or aren't yet familiar with Lambdas, but wish to take advantage

So, to help those Spring Integration users who want to moved from XML configuration to Java & Annotation configuration, we provide this line-by-line tutorial to demonstrate that, even without Lambdas, we gain a lot from Spring Integration…

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all