SEC-3106: Option in BasicAuthenticationFilter to log more exception info #3308
Labels
in: web
An issue in web modules (web, webmvc)
type: enhancement
A general enhancement
type: jira
An issue that was migrated from JIRA
Milestone
Bill Chen (Migrated from SEC-3106) said:
The current code in
doFilterInternal()
logs in this way:logger.debug("Authentication request for failed: " + failed);
which, in most cases just produces: "Authentication request for failed: org.springframework.security.authentication.BadCredentialsException: Bad credentials". This is neither a correct sentence nor useful for debugging.
Could it be changed so it logs the stack at trace level or something?
The text was updated successfully, but these errors were encountered: