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

One Time Token login registers the default login page #16480

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Kehrlann
Copy link
Contributor

@Kehrlann Kehrlann commented Jan 24, 2025

Context

Addresses gh-16414 .
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants