This Week in Spring - September 13, 2016

Engineering | Josh Long | September 13, 2016 | ...

Welcome to another installment of This Week in Spring! It's been an amazing week here in China, hanging out with Alibaba and Huawei, bringing the Spring. This week it's off to Shanghai, Beijing, Guangzhou, Shenzhen and Hong Kong!

Our pal Pieter Humphrey has been busy this week getting the SpringOne Platform 2016 videos up and online for us to enjoy so there's a lot of good stuff this week! Thanks Pieter!

This Week in Spring - September 6th, 2016

Engineering | Josh Long | September 06, 2016 | ...

Welcome to another installment of This Week in Spring! This week I'm in Shanghai, China and Hangzhou, China where I spoke at the ginormous Huawei Connect conference in Shanghai and where I'll be working with Alibaba and Huawei for a week or so. I'll also be speaking at the Hangzhou Java User Group, too.

(Can you believe we're already in September?? Seriously blown away! 2017 is just around the corner!)

I'm also, technically, on vacation, so I'll keep this post to a minimum! :)

Spring Security OAuth2 - Client Authentication Issue

Engineering | Joe Grandja | August 31, 2016 | ...

Issue #808 was recently reported that allowed a user to authenticate as a client and obtain an access token via the client_credentials or password grant flow.

This unique scenario occurs when a client and user have the same identifier (clientId and username). The user’s credentials are used for client authentication during a client_credentials or password grant flow and is successful in obtaining an access token with the authorities of the client.

The Fix

This bug has been fixed in 1ed986a and released in 2.0.11.RELEASE.

If you’re using Java-based configuration, please update to 2.0.11.RELEASE…

Custom test slice with Spring Boot 1.4

Engineering | Stéphane Nicoll | August 30, 2016 | ...

Spring Boot 1.4 includes a major overhaul of testing support and one of these features is test slicing. I'd like to take the opportunity in this blog post to further explain what it is and how you can easily create your own slices.

Test slicing is about segmenting the ApplicationContext that is created for your test. Typically, if you want to test a controller using MockMvc, surely you don't want to bother with the data layer. Instead you'd probably want to mock the service that your controller uses and validate that all the web-related interaction works as expected. This can be summarized in…

This Week in Spring - August 30th, 2016

Engineering | Josh Long | August 30, 2016 | ...

Welcome to another installment of This Week in Spring! This week I've been in San Francisco, (where I live and) where I addressed the Silicon Valley Spring User Group. Now it's off to beautiful China to bring some Spring and Pivotal (and, maybe, take a little vacation!)

As usual, we have a lot to get to so let's!

Spring Web Services 2.3.1/2.4.0 are released

Engineering | Greg L. Turnquist | August 29, 2016 | ...

Greetings Spring community,

Spring Web Services has just released versions 2.3.1.RELEASE and 2.4.0.RELEASE.

2.3.1.RELEASE is a minor patch release.

2.3.1 Release Notes | 2.3.1 Documentation.

2.4.0.RELEASE rebases Spring Web Services to run on Spring Framework 4.2.x & Spring Security 4.0.x, the stable baselines behind Spring 4.3/Spring Security 4.1. At the same time, it remains compatible with Java 7. This version includes changes to the code base making it forward compatible with Spring 4.3 and 5.0, so you are free to move up to whichever version of Spring/Spring Security you wish to use.

2.4.0 Release Notes | 2.4.0 Documentation

Check your Spring Security SAML config - XXE security issue

Engineering | Rob Winch | August 24, 2016 | ...

It was brought to our attention that the spring-security-saml sample application contained an XML External Entity (XXE) vulnerability. This meant that a malicious user could view any file that the Spring Application’s process had access to.

The issue was a direct result of OpenSAML Java ParserPool and Decrypter Vulnerable To XML Attacks. The default behavior of the ParserPool implementations is fixed in OpenSAML 2.6.1+ (which Spring Security SAML uses). However, the vulnerability is still possible if users construct their own ParserPool without the proper settings.

Note

We did not consider this a CVE because the exploit was only found in the sample application which is not considered production code. However, we expect that our users may have copied this code to create their own applications. For this reason, we wanted to be transparent and communicate the issue and…

This Week in Spring - August 23, 2016

Engineering | Josh Long | August 23, 2016 | ...

Welcome to another installation of This Week in Spring! This week I'm in NYC (for the NYC Java SIG), Austin and San Francisco (for the Silicon Valley Spring User Group) talking to customers and doing meetups! We've got a lot to cover, as usual, so let's get to it!

Spring Cloud Spinnaker 1.0.0.M1

Engineering | Greg L. Turnquist | August 19, 2016 | ...

Greetings Spring community,

I am happy to release the first milestone for Spring Cloud Spinnaker. Spring Cloud Spinnaker bundles up the continuous delivery Spinnaker platform, and provides a 1-click installer to let you install it to any certified Cloud Foundry provider.

At this year’s SpringOne Platform 2016 conference, there were two talks about Spinnaker. If you have early release access and missed them, you can watch right now. Otherwise you can catch them on the SpringDeveloper YouTube Channel once they are published.

If your team/meetup/JUG is interested in hearing more about Spinnaker, check in with me and we can arrange a…

This Week in Spring - August 16th, 2016

Engineering | Josh Long | August 16, 2016 | ...

Welcome to another installment of This Week in Spring! Since we last spoke I've presented at conferences and to customers in London, Beijing, Shanghai and Singapore - where I am now. Tomorrow, Wednesday, I'll be speaking at the Singapore Spring Meetup - join me! It's been quite a few days!

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