Skip to content

One Time Token login registers the default login page #16480

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

Merged
merged 2 commits into from
Feb 10, 2025

Conversation

Kehrlann
Copy link
Contributor

@Kehrlann Kehrlann commented Jan 24, 2025

Context

Addresses gh-16414 & gh-16539
reviewer: @rwinch

Notable

In the servlet stack only.

The filter that processes the token-based authentication has been changed to an AbstractAuthenticationProcessingFilter instead of an anonymous instance of AuthenticationFilter.

The OneTimeTokenLoginConfiguer can therefore inherit from AbstractAuthenticationFilterConfigurer, which configures the login entrypoint and the login page. The methods #authenticationFailureHandler and #authenticationSuccessHandler have been deprecated in favor of those from the base class, but not marked for removal, I don't know what the policy is for removal.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jan 24, 2025
@Kehrlann Kehrlann force-pushed the ott/enable-default-ui-ott-only branch 3 times, most recently from 9fc6606 to 3541139 Compare January 24, 2025 15:12
@Kehrlann Kehrlann marked this pull request as ready for review January 24, 2025 16:20
@Kehrlann Kehrlann force-pushed the ott/enable-default-ui-ott-only branch from 3541139 to 3e87a99 Compare February 3, 2025 10:36
@Kehrlann Kehrlann force-pushed the ott/enable-default-ui-ott-only branch 3 times, most recently from 225095e to a56d36f Compare February 5, 2025 11:10
@Kehrlann Kehrlann force-pushed the ott/enable-default-ui-ott-only branch from a56d36f to 95001c3 Compare February 5, 2025 11:20
@rwinch rwinch self-assigned this Feb 10, 2025
@rwinch rwinch added in: web An issue in web modules (web, webmvc) type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Feb 10, 2025
@rwinch rwinch added this to the 6.5.0-M2 milestone Feb 10, 2025
@rwinch rwinch merged commit 238f47c into spring-projects:main Feb 10, 2025
6 checks passed
@Kehrlann Kehrlann deleted the ott/enable-default-ui-ott-only branch February 10, 2025 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web An issue in web modules (web, webmvc) type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants