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-2060: Add another constructor to PreAuthenticatedCredentialsNotFoundException #2284

Closed
spring-projects-issues opened this issue Sep 27, 2012 · 2 comments
Assignees
Labels
in: core An issue in spring-security-core type: enhancement A general enhancement type: jira An issue that was migrated from JIRA
Milestone

Comments

@spring-projects-issues
Copy link

Michael Osipov (Migrated from SEC-2060) said:

I'd like to pass another exception to the constructor in my custom preauth filter. Unfortunately, the currect version of the PreAuthenticatedCredentialsNotFoundException accepts only a string. Please override AuthenticationException(String msg, Throwable t) too.

@spring-projects-issues
Copy link
Author

Rob Winch said:

In the meantime initCause can be used.

@spring-projects-issues
Copy link
Author

Michael Osipov said:

Agreed, added this to my code as a temporary workaround.

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

No branches or pull requests

2 participants