Skip to content

Commit 7327f7c

Browse files
Add Reactive One-Time Token Login support
Closes gh-15699
1 parent 4855287 commit 7327f7c

File tree

19 files changed

+2619
-6
lines changed

19 files changed

+2619
-6
lines changed

config/src/main/java/org/springframework/security/config/web/server/SecurityWebFiltersOrder.java

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2017 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -16,6 +16,8 @@
1616

1717
package org.springframework.security.config.web.server;
1818

19+
import org.springframework.security.web.server.ui.OneTimeTokenSubmitPageGeneratingWebFilter;
20+
1921
/**
2022
* @author Rob Winch
2123
* @since 5.0
@@ -67,6 +69,16 @@ public enum SecurityWebFiltersOrder {
6769

6870
LOGOUT_PAGE_GENERATING,
6971

72+
/**
73+
* {@link org.springframework.security.web.server.authentication.ott.GenerateOneTimeTokenWebFilter}
74+
*/
75+
ONE_TIME_TOKEN,
76+
77+
/**
78+
* {@link OneTimeTokenSubmitPageGeneratingWebFilter}
79+
*/
80+
ONE_TIME_TOKEN_SUBMIT_PAGE_GENERATING,
81+
7082
/**
7183
* {@link org.springframework.security.web.server.context.SecurityContextServerWebExchangeWebFilter}
7284
*/

config/src/main/java/org/springframework/security/config/web/server/ServerHttpSecurity.java

Lines changed: 322 additions & 5 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)