close

SpringOne Platform 2016 Replay: Apache Tomcat Roadmap

Recorded at SpringOne Platform 2016.
Speaker: Mark Thomas
Slides: http://www.slideshare.net/SpringCentral/apache-tomcat-roadmap

Development of Apache Tomcat continues at a strong pace. This presentation will cover:
Future development plans (features, timing)
Current work
Overview of new features available now in Tomcat 9 / Tomcat 8.5
- SNI
- OpenSSL based TLS
- OAuth (via JASPIC)
Why do we need Tomcat 8.5?
Migrating from older versions
End-of-life plans for older versions
Progress towards a Servlet 4.0 implementation

Read more

Spring Cloud Task 1.0.3.RELEASE and 1.1.0.M1 are now available

We are pleased to announce that Spring Cloud Task 1.0.3.RELEASE and 1.1.0.M1 are now available via Maven Central, Github and the Pivotal download repository. Many thanks to all of those who contributed to this release.

What’s new in Spring Cloud Task 1.0.3.RELEASE

1.0.3.RELEASE represents the next minor release for the 1.0.x branch. It’s a minor update that cleans up the dependency management within the project to be in alignment with how the rest of the Spring Cloud portfolio manages it’s dependencies.

Read more

Spring for Apache Kafka 1.1.0 Milestone 2 Available

I am pleased to announce that the second milestone for Spring for Apache Kafka version 1.1.0.M2 is now available in the spring milestone repo.

This includes some bug fixes and the following new features:

@KafkaListener(id = "list", topics = "myTopic",
                          containerFactory = "batchFactory")
public void listen(List<String> list) {
    ...
}
Read more

Spring Cloud Stream Brooklyn.RC1 is available

On behalf of the team, I am pleased to announce the release of the first release candidate of the Spring Cloud Stream Brooklyn release train. Spring Cloud Stream Brooklyn.RC1 is available for use in the Spring Milestone repository, a detailed description of its features can be found in the reference documentation. Release notes are available here and include important information on the migration path.

As this release follows closely the previous milestone release it contains a small number of fixes, and one major addition, which is support for Kafka 0.10 via drop-in dependency replacement.

Read more

Spring Session 1.2.2 Released

I’m pleased to announce the release of Spring Session 1.2.2.RELEASE. This release contains numerous bug fixes and trivial enhancements. Some of the highlights include:

Project Site | Reference | Help

Read more

This Week in Spring - September 6th, 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! :)

Read more

Spring Security OAuth2 - Client Authentication Issue

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.

However, if you’re using XML-based configuration, please take the following actions:

  • Update to 2.0.11.RELEASE

  • Look at this JUnit test and it’s associated XML configuration to ensure the AuthenticationManager for client authentication and the AuthenticationManager for user authentication is setup the same in your configuration.

  • As a precautionary step, make sure your XML configuration is NOT setup the same as in this JUnit test and associated XML configuration as it demonstrates the original issue.

Read more

Custom test slice with Spring Boot 1.4

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 the example below:

Read more

This Week in Spring - August 30th, 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!

Read more