java.lang.IllegalArgumentException: A parent AuthenticationManager or a list of AuthenticationProviders is required

Spring JIRA | Rob Winch | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      A parent AuthenticationManager or a list of AuthenticationProviders is required

      at org.springframework.security.authentication.ProviderManager.checkState()
    2. spring-security-core
      ProviderManager.<init>
      1. org.springframework.security.authentication.ProviderManager.checkState(ProviderManager.java:117)
      2. org.springframework.security.authentication.ProviderManager.<init>(ProviderManager.java:106)
      2 frames