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

LoginUrlAuthenticationEntryPoint : redirectStrategy not configurable [SPR-14226] #18800

Closed
spring-projects-issues opened this issue Apr 27, 2016 · 2 comments
Labels
in: web status: invalid

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented Apr 27, 2016

Michael Feige opened SPR-14226 and commented

(first of... I didn't find a "security" component. I hope this is still the proper Issue-Tracker for spring-security-Bugs)

Hello,

I have a WebApplication, where I had to implement a custom redirectStrategy. (Reason is, that I want the redirects to be aware of the different context path that might result from a Apache-Tomcat-Proxy Scenario).

Unfortunately I found, that the redirectStrategy used in the LoginUrlAuthenticationEntryPoint is hard-wired to DefaulRedirectStrategy.

I think a public setter-Method, which would allow to override the default via Spring-XML-Config would be sufficient.

Regards,
Michael

spring-security-web-version: 4.0.3
used in a spring-web-mvc-environment (4.2.3)


Affects: 4.2.3

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Apr 27, 2016

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Apr 27, 2016

Michael Feige commented

Thanks, found my Problem there: spring-projects/spring-security#2999

You may close this one then :)

@spring-projects-issues spring-projects-issues added type: bug status: invalid in: web and removed type: bug labels Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web status: invalid
Projects
None yet
Development

No branches or pull requests

1 participant