Spring Security 4.0.0.M2 Released

Releases | Rob Winch | August 18, 2014 | ...

I'm pleased to announce the release of Spring Security 4.0.0.M2 available in the Spring Milestone repository.

[callout title=SpringOne 2GX 2014 is around the corner]Book your place at SpringOne in Dallas, TX for Sept 8-11 soon. It's simply the best opportunity to find out first hand all that's going on and to provide direct feedback. From 0 to Spring Security 4.0 session will contain detailed information on how to get started with Spring Security and provide a deep dive into the new features found in Spring Security 4. Of course there plenty of other exciting Spring related talks![/callout]


You can find details about this release in the release notes. Highlights of the release include:

  • Support for WebSocket Security using Spring's messaging abstraction
  • Spring Data integration
  • Spring Session was produced out of the work necessary for this release. In an application server independent way you can easily use a custom backend (i.e. Redis) as the HttpSession implementation. See the project page for additional features of this exciting new project.
  • Enhancements and fixes to the testing support
    • Easier integration with MockMvc through SecurityMockMvcConfigurers
    • You no longer need to specify WithSecurityContextTestExecutionListener on your tests
    • @WithSecurityContext works even with custom SecurityContextRepository implementations
    • Support for digest and certificate based authentication testing
  • Support nested static groups in LDAP Authentication
  • Lots of integration tests added to the sample applications
  • Updated minimum version of Spring 4.1 RC2. This was necessary for enough of the features, that it made sense to do across the board

Stay tuned to the spring.io blog for a blog series introducing these exciting new features.

Reference | Javadoc | Guides

Get the Spring newsletter

Thank you!

Get ahead

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

Learn more

Get support

Spring Runtime 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