1
0
mirror of synced 2026-08-05 01:36:56 +00:00

Add JdbcOneTimeTokenService

Closes gh-15735
This commit is contained in:
Rob Winch
2024-10-02 14:42:13 -05:00
7 changed files with 561 additions and 1 deletions
@@ -412,6 +412,7 @@ class MagicLinkGeneratedOneTimeTokenSuccessHandler : GeneratedOneTimeTokenHandle
The interface that define the common operations for generating and consuming one-time tokens is the javadoc:org.springframework.security.authentication.ott.OneTimeTokenService[].
Spring Security uses the javadoc:org.springframework.security.authentication.ott.InMemoryOneTimeTokenService[] as the default implementation of that interface, if none is provided.
For production environments consider using javadoc:org.springframework.security.authentication.ott.JdbcOneTimeTokenService[].
Some of the most common reasons to customize the `OneTimeTokenService` are, but not limited to: