New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

spring-issuemaster commented Nov 4, 2013

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