SEC-2386: DEBUG statement with Failed to perform build and stacktrace should be stated as OK #2611

Closed
spring-issuemaster opened this Issue Nov 4, 2013 · 0 comments

Comments

Projects
None yet
2 participants
@spring-issuemaster

Rob Winch (Migrated from SEC-2386) said:

Seems to me though that if  this really is ignorable, an exception should be logged later, when there really is a problem

2013-11-04 14:51:57.631 DEBUG 13456 --- [ost-startStop-1] s.s.c.a.a.b.AuthenticationManagerBuilder : Failed to perform build. Returning null

java.lang.IllegalArgumentException: A parent AuthenticationManager or a list of AuthenticationProviders is required
at org.springframework.security.authentication.ProviderManager.checkState(ProviderManager.java:117)
at org.springframework.security.authentication.ProviderManager.<init>(ProviderManager.java:106)
at org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder.performBuild(AuthenticationManagerBuilder.java:221)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment