Skip to content
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-453: CasAuthenticationHandler does not log root cause of AuthenticationException. #714

Closed
spring-projects-issues opened this issue Mar 14, 2007 · 1 comment
Labels
in: cas An issue in spring-security-cas type: bug A general bug type: jira An issue that was migrated from JIRA
Milestone

Comments

@spring-projects-issues
Copy link

Mat Lowery(Migrated from SEC-453) said:

Excerpt from org.acegisecurity.adapters.cas3.CasAuthenticationHandler’s authenticateUsernamePasswordInternal() method:
-— excerpt begin -
try {
this.authenticationManager.authenticate(authenticationRequest);
} catch (final org.acegisecurity.AuthenticationException e) {
if (log.isDebugEnabled()) {
log.debug("Authentication request for " + credentials.getUsername() + "failed: " + e.toString());
}

return false;

}
-—- excerpt end -—-

Problems (both with the log.debug() call):
- The log.debug call does not print the stack trace. This could be solved by changing the log.debug() call to:
log.debug("Authentication request for " + credentials.getUsername() + "failed: ", e);
- There needs to be a space between the credentials.getUsername() and the word “failed”.

@spring-projects-issues
Copy link
Author

Ben Alex said:

Fixed in SVN commit 1852.

@spring-projects-issues spring-projects-issues added in: cas An issue in spring-security-cas Closed type: bug A general bug type: jira An issue that was migrated from JIRA labels Feb 5, 2016
@spring-projects-issues spring-projects-issues added this to the 1.0.4 milestone Feb 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: cas An issue in spring-security-cas type: bug A general bug type: jira An issue that was migrated from JIRA
Projects
None yet
Development

No branches or pull requests

2 participants
@spring-projects-issues and others