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

Already on GitHub? Sign in to your account

SEC-1868: SecurityNamespaceHandler should not log an error if the web classes are not available #2100

Closed
spring-issuemaster opened this Issue Dec 14, 2011 · 1 comment

Comments

Projects
None yet
2 participants

Roald Bankras (Migrated from SEC-1868) said:

Currently the SecurityNamespaceHandler logs an error if the FilterChainProxy is not available on the classpath.
This should be turned back to an if instead of a try/catch and it should definitely not log an error message

Rob Winch said:

Thank you for your bug submission. A fix has been pushed to master.

For the interested...This was introduced with the desire to provide the user with more details when FilterChainProxy failed to load (i.e. FilterChainProxy was not found, Filter was not found etc) and was being used. The fix I pushed to master changed the init method to use ClassUtils.isPresent again and removed the logger.error statement. To get more details it attempts to load FilterChainProxy again when reporting the error to get a detailed error message.

@spring-issuemaster spring-issuemaster added this to the 3.1.1 milestone Feb 5, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment