Spring Security SAML 1.0.4 Released

Releases | Filip Hanik | March 16, 2018 | ...

The Spring Security SAML project team is proud to announce our latest 1.0.4.RELEASE. This maintenance release pushes its dependencies to the latest known working version while staying backwards compatible.

This release requires an additional Maven repository to download the latest version of the not-yet-commons-ssl dependency.

Moving forward we will be working on our 2.0.0 release. This release aims to provide an easy upgrade path for users of the 1.0.x releases while modernizing the underlying dependencies for easy up keep.

Feedback and contributions are always appreciated. Stay tuned.

Project Site | GitHub | Reference |

Spring Cloud Open Service Broker M1 released

Releases | Scott Frederick | March 13, 2018 | ...

We are pleased to announce the first milestone release of Spring Cloud Open Service Broker 2.0.0.

This project was formerly named Spring Cloud - Cloud Foundry Service Broker. A lot has changed in the few years since that project was released. The service broker API that the project implements is no longer specific to Cloud Foundry but has been donated to the Open Service Broker API project and is implemented by Kubernetes and other platforms. The new project name reflects this evolution and openness.

In addition to a new name, some highlights of the 2.0 version are:

  • Requires Java 8, Spring Framework 5, and Spring Boot 2
  • Supports inclusion in either a Spring MVC or a Spring WebFlux application
  • Provides improved Spring Boot auto-configuration

This Week in Spring - March 13th, 2018

Engineering | Josh Long | March 13, 2018 | ...

Hi Spring fans! Welcome to another installment of This Week in Spring! This week I'm in blizzard-besieged Boston, Massachusetts, for the epic Spring One Tour Boston event. Unfortunately, due to this crazy snow storm / blizzard, the event's been postponed one day as we all grapple with the weather. Hope you were able to join the Spring Boot 2.0 launch webinar! If not the replay will be available here and don't forget to check out the launch blog!

Snow or no snow! The show must go on, at least here on the Spring blog, so without further ado:

Upgrading start.spring.io to Spring Boot 2

Engineering | Stéphane Nicoll | March 12, 2018 | ...

Spring Boot 2 was released recently and the production instance of Spring Initializr (start.spring.io) was upgraded to Spring Boot 2 the same day.

In this post, I'd like to walk you through the process of upgrading a Spring Boot 1.x app to Spring Boot 2.

Release notes and migration guide

A good first step is to get yourself familiar with the main changes in Spring Boot 2 by reading the migration guide and the release notes.

Build upgrade

If you are using Maven and the spring-boot-starter-parent, you need to be aware that several plugins are going to be updated as part of the upgrade. If you're not using the parent, it is worthwhile to inspect your build and upgrade the plugins that you are using. Spring Initializr is built with Maven so the easiest way is to scan spring-boot-dependencies

Spring IO Platform Cairo-RC1

Releases | Andy Wilkinson | March 12, 2018 | ...

It's my pleasure to announce that Spring IO Platform Cairo-RC1 is now available from the Spring milestone repository. The Cairo generation of the Platform builds on top of Spring Framework 5.0 and Spring Boot 2.0 and requires Java 8.

Cairo includes the following projects:

  • AspectJ 1.8.13
  • Reactor Bismuth-SR7
  • Spring AMQP 2.0.2
  • Spring Batch 4.0.0
  • Spring Boot 2.0.0
  • Spring Cloud Connectors 2.0.1
  • Spring Data Kay-SR5
  • Spring Framework 5.0.4
  • Spring HATEOAS 0.24.0
  • Spring Integration 5.0.3
  • Spring Kafka 2.1.4
  • Spring LDAP 2.3.2
  • Spring Plugin 1.2.0
  • Spring REST Docs 2.0.0
  • Spring Retry 1.2.2
  • Spring Security 5.0.3
  • Spring Security JWT 1.0.9
  • Spring Security OAuth 2.2.1
  • Spring Session Apple-SR1
  • Spring Social 1.1.6
  • Spring Social Twitter 1.1.2
  • Spring Web Flow 2.5.0
  • Spring Web Services 3.0.0

Spring Cloud Data Flow 1.4 RC1 released

Releases | Gunnar Hillert | March 12, 2018 | ...

The Spring Cloud Data Flow team is pleased to announce the release of 1.4.0 RC1. Follow the Getting Started guides for Local Server, Cloud Foundry, and Kubernetes.

Following are the release highlights:

Stream Deployment UX

In Skipper mode, we have added a brand new stream deployment builder form to simplify the selection of platform and the properties while deploying a stream. The options include override to the deployment platform and the deployer, application and global properties for the streaming pipeline.

Deployment Properties

Docker Compose for Development

To simplify the getting started experience for the Local Server, we have added the Docker Compose support, which when run as a single command from the CLI, it will automatically provision the latest release of the Local-server along with Apache Kafka for messaging…

Testing auto-configurations with Spring Boot 2.0

Engineering | Madhura Bhave | March 07, 2018 | ...

Auto-configuration is one of the most powerful features of Spring Boot. Tests for auto-configuration classes usually follow the same pattern. Most tests start up an ApplicationContext with the auto-configuration class under test and depending on the test, also load additional configuration to simulate user behavior. The recurrence of this pattern can add a lot of repetition in the code base.

Spring Boot 2.0 provides a suite of new test helpers for easily configuring an ApplicationContext to simulate auto-configuration test scenarios. The following example configures an ApplicationContextRunner to test the UserServiceAutoConfiguration

Spring Batch 3.0.9.RELEASE and 4.0.1.RELEASE are now available

Releases | Mahmoud Ben Hassine | March 07, 2018 | ...

We are pleased to announce the release of Spring Batch 3.0.9.RELEASE and 4.0.1.RELEASE via Maven Central, Github, and the Pivotal download repository.

These two maintenance releases address a number of bug fixes, enhancements and documentation updates. For a complete list of changes, please refer to the change logs for 3.0.9 and 4.0.1. Many thanks to all of those who submitted pull requests that went into these releases.

Please note that the next patch version, 3.0.10.RELEASE, will be the last maintenance release of the 3.x line. We strongly recommend users to migrate to the latest and…

Using Spring Security 5 to integrate with OAuth 2-secured services such as Facebook and GitHub

Engineering | Craig Walls | March 06, 2018 | ...

One of the key features in Spring Security 5 is support for writing applications that integrate with services that are secured with OAuth 2. This includes the ability to sign into an application by way of an external service such as Facebook or GitHub.

But with a little bit of extra code, you can also obtain an OAuth 2 access token that can be used to perform authorized requests against the service’s API.

In this article, we’re going to look at how to develop a Spring Boot application that, using Spring Security 5, integrates with Facebook. You can find the complete code for this article at https://github.com/habuma/facebook-security5

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