Skip to content

Commit f5f965b

Browse files
eleftheriasrwinch
authored andcommitted
Fix JavaDoc for defaultSuccessUrl
Fixes gh-3337
1 parent e7f93f2 commit f5f965b

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

config/src/main/java/org/springframework/security/config/annotation/web/configurers/AbstractAuthenticationFilterConfigurer.java

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2019 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.
@@ -105,9 +105,9 @@ protected AbstractAuthenticationFilterConfigurer(F authenticationFilter,
105105
}
106106

107107
/**
108-
* Specifies where users will go after authenticating successfully if they have not
109-
* visited a secured page prior to authenticating. This is a shortcut for calling
110-
* {@link #defaultSuccessUrl(String)}.
108+
* Specifies where users will be redirected after authenticating successfully if
109+
* they have not visited a secured page prior to authenticating. This is a shortcut
110+
* for calling {@link #defaultSuccessUrl(String, boolean)}.
111111
*
112112
* @param defaultSuccessUrl the default success url
113113
* @return the {@link FormLoginConfigurer} for additional customization
@@ -117,9 +117,10 @@ public final T defaultSuccessUrl(String defaultSuccessUrl) {
117117
}
118118

119119
/**
120-
* Specifies where users will go after authenticating successfully if they have not
121-
* visited a secured page prior to authenticating or {@code alwaysUse} is true. This
122-
* is a shortcut for calling {@link #successHandler(AuthenticationSuccessHandler)}.
120+
* Specifies where users will be redirected after authenticating successfully if
121+
* they have not visited a secured page prior to authenticating or {@code alwaysUse}
122+
* is true. This is a shortcut for calling
123+
* {@link #successHandler(AuthenticationSuccessHandler)}.
123124
*
124125
* @param defaultSuccessUrl the default success url
125126
* @param alwaysUse true if the {@code defaultSuccesUrl} should be used after

0 commit comments

Comments
 (0)