Spring Boot 3.2.0 Upgrade: "Authentication Manager Cannot Be Null" with RSocketSecurity – Rsocket

by
Maya Patel
java rsocket spring-boot spring-rsocket spring-security

Quick Fix: Wait for Spring Boot 3.2.1 release (21st December 2023) to resolve the issue with AuthenticationManager in RSocketSecurity.

The Problem:

A Spring Boot application employing Spring Security and RSocketSecurity has started failing contextLoads() tests following an upgrade to Spring Boot 3.2.0. The error message encountered is "authentication manager cannot be null."

The Solutions:

Solution 1: Upgrade to Spring Boot 3.2.1

The issue you are facing is a known bug in Spring Boot 3.2.0. It has been fixed in Spring Boot 3.2.1, which was released on December 21, 2023. To resolve the “authentication manager cannot be null” error, you should upgrade your Spring Boot application to version 3.2.1 or later.

Q&A

How can I fix the error "authentication manager cannot be null" in Spring Boot 3.2.0?

There is an open issue in the Spring Boot Project on GitHub. The issue is tagged to be solved in Spring Boot 3.2.1.

Whats the version that solved the issue?

Spring Boot 3.2.1 which will be released on 21st December 2023.

Video Explanation:

The following video, titled "Spring Boot 3.2.0 - Spring Authorization Server - Create, Update ...", provides additional insights and in-depth exploration related to the topics discussed in this post.

Play video

Spring Boot 3.2.0 Spring Authorization Server 1.2.0 Spring Resource Server Spring Boot Client Thymeleaf RestClient JdbcClient Create, Update ...