Skip to content

Commit 2e49837

Browse files
Update JavaDoc in ServerHttpSecurity's OAuth2ResourceServerSpec to document authenticationSuccessHandler
1 parent ab17e3f commit 2e49837

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@
297297
* @author Ankur Pathak
298298
* @author Alexey Nesterov
299299
* @author Yanming Zhou
300+
* @author Iain Henderson
300301
* @since 5.0
301302
*/
302303
public 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;

0 commit comments

Comments
 (0)