File tree Expand file tree Collapse file tree
config/src/main/java/org/springframework/security/config/web/server Expand file tree Collapse file tree Original file line number Diff line number Diff line change 297297 * @author Ankur Pathak
298298 * @author Alexey Nesterov
299299 * @author Yanming Zhou
300+ * @author Iain Henderson
300301 * @since 5.0
301302 */
302303public class ServerHttpSecurity {
@@ -4188,6 +4189,13 @@ public OAuth2ResourceServerSpec authenticationFailureHandler(
41884189 return this ;
41894190 }
41904191
4192+ /**
4193+ * Configures the {@link ServerAuthenticationSuccessHandler} to use. The default is
4194+ * {@link WebFilterChainServerAuthenticationSuccessHandler}
4195+ * @param authenticationSuccessHandler the {@link ServerAuthenticationSuccessHandler} to use
4196+ * @return the {@link OAuth2ClientSpec} to customize
4197+ * @since 7.1
4198+ */
41914199 public OAuth2ResourceServerSpec authenticationSuccessHandler (
41924200 ServerAuthenticationSuccessHandler authenticationSuccessHandler ) {
41934201 this .authenticationSuccessHandler = authenticationSuccessHandler ;
You can’t perform that action at this time.
0 commit comments