Fix JavaDoc for defaultSuccessUrl

Fixes gh-3337
This commit is contained in:
Eleftheria Stein 2019-05-14 17:26:58 -04:00 committed by Rob Winch
parent e7f93f221d
commit f5f965b6aa
1 changed files with 8 additions and 7 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2002-2018 the original author or authors.
* Copyright 2002-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -105,9 +105,9 @@ public abstract class AbstractAuthenticationFilterConfigurer<B extends HttpSecur
}
/**
* Specifies where users will go after authenticating successfully if they have not
* visited a secured page prior to authenticating. This is a shortcut for calling
* {@link #defaultSuccessUrl(String)}.
* Specifies where users will be redirected after authenticating successfully if
* they have not visited a secured page prior to authenticating. This is a shortcut
* for calling {@link #defaultSuccessUrl(String, boolean)}.
*
* @param defaultSuccessUrl the default success url
* @return the {@link FormLoginConfigurer} for additional customization
@ -117,9 +117,10 @@ public abstract class AbstractAuthenticationFilterConfigurer<B extends HttpSecur
}
/**
* Specifies where users will go after authenticating successfully if they have not
* visited a secured page prior to authenticating or {@code alwaysUse} is true. This
* is a shortcut for calling {@link #successHandler(AuthenticationSuccessHandler)}.
* Specifies where users will be redirected after authenticating successfully if
* they have not visited a secured page prior to authenticating or {@code alwaysUse}
* is true. This is a shortcut for calling
* {@link #successHandler(AuthenticationSuccessHandler)}.
*
* @param defaultSuccessUrl the default success url
* @param alwaysUse true if the {@code defaultSuccesUrl} should be used after