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

a compile error in "oauth2-auth-server/src/main/webapp/WEB-INF/jsp/access_confirmation.jsp" #13

Open
cyrixlin opened this issue Jun 2, 2021 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@cyrixlin
Copy link

cyrixlin commented Jun 2, 2021

in "oauth2-auth-server/src/main/webapp/WEB-INF/jsp/access_confirmation.jsp" , line 18 and line 22

AbstractAuthenticationProcessingFilter.SPRING_SECURITY_LAST_EXCEPTION_KEY

compilor said:
AbstractAuthenticationProcessingFilter.SPRING_SECURITY_LAST_EXCEPTION_KEY cannot be resolved or is not a field

in spring-security-web-5.2.2.RELEASE.jar, AbstractAuthenticationProcessingFilter has no field named "SPRING_SECURITY_LAST_EXCEPTION_KEY"

@OhadR
Copy link
Owner

OhadR commented Jun 2, 2021

hi

as you can see:
image

so the compilation is fine.
Can you please check the spring version that you use?
Are you using EXACTLY the same code as this project?

EDIT:

You are correct: Older spring's AbstractAuthenticationProcessingFilter has a (static) field SPRING_SECURITY_LAST_EXCEPTION_KEY. But in version >5 there is none. This should be fixed.

https://docs.spring.io/spring-security/site/apidocs/org/springframework/security/web/authentication/AbstractAuthenticationProcessingFilter.html

I'd be happy to accept pull request for the fix!

@OhadR OhadR added the help wanted Extra attention is needed label Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants