Javadocs author tag doesn't work in methods

This commit is contained in:
Emil Sierżęga 2021-10-13 22:00:42 +02:00 committed by Eleftheria Stein-Kousathana
parent 6b26032ce7
commit a188138715
7 changed files with 6 additions and 19 deletions

View File

@ -55,6 +55,7 @@ import org.springframework.util.ClassUtils;
* @param <B> the {@link ProviderManagerBuilder} type that this is configuring.
* @author Rob Winch
* @author Eddú Meléndez
* @author Tony Dalbrekt
* @since 3.2
*/
public class LdapAuthenticationProviderConfigurer<B extends ProviderManagerBuilder<B>>
@ -150,7 +151,6 @@ public class LdapAuthenticationProviderConfigurer<B extends ProviderManagerBuild
* {@link SimpleAuthorityMapper}
* @return the {@link LdapAuthenticationProviderConfigurer} for further customizations
*
* @author Tony Dalbrekt
* @since 4.1.1
*/
public LdapAuthenticationProviderConfigurer<B> authoritiesMapper(

View File

@ -69,6 +69,7 @@ import org.springframework.util.Assert;
* @author Joe Grandja
* @author Eddú Meléndez
* @author Vedran Pavic
* @author Ankur Pathak
* @since 3.2
*/
public class HeadersConfigurer<H extends HttpSecurityBuilder<H>>
@ -766,7 +767,6 @@ public class HeadersConfigurer<H extends HttpSecurityBuilder<H>>
* </p>
* @param preload true to include preload, else false
* @since 5.2.0
* @author Ankur Pathak
*/
public HstsConfig preload(boolean preload) {
this.writer.setPreload(preload);

View File

@ -242,6 +242,8 @@ import org.springframework.web.server.WebFilterChain;
* @author Eddú Meléndez
* @author Joe Grandja
* @author Parikshit Dutta
* @author Ankur Pathak
* @author Alexey Nesterov
* @since 5.0
*/
public class ServerHttpSecurity {
@ -333,7 +335,6 @@ public class ServerHttpSecurity {
* @param order the place before which to insert the {@link WebFilter}
* @return the {@link ServerHttpSecurity} to continue configuring
* @since 5.2.0
* @author Ankur Pathak
*/
public ServerHttpSecurity addFilterBefore(WebFilter webFilter, SecurityWebFiltersOrder order) {
this.webFilters.add(new OrderedWebFilter(webFilter, order.getOrder() - 1));
@ -346,7 +347,6 @@ public class ServerHttpSecurity {
* @param order the place after which to insert the {@link WebFilter}
* @return the {@link ServerHttpSecurity} to continue configuring
* @since 5.2.0
* @author Ankur Pathak
*/
public ServerHttpSecurity addFilterAfter(WebFilter webFilter, SecurityWebFiltersOrder order) {
this.webFilters.add(new OrderedWebFilter(webFilter, order.getOrder() + 1));
@ -593,7 +593,6 @@ public class ServerHttpSecurity {
* </pre>
* @return the {@link AnonymousSpec} to customize
* @since 5.2.0
* @author Ankur Pathak
*/
public AnonymousSpec anonymous() {
if (this.anonymous == null) {
@ -817,7 +816,6 @@ public class ServerHttpSecurity {
* will be used. If authenticationManager is not specified,
* {@link ReactivePreAuthenticatedAuthenticationManager} will be used.
* @return the {@link X509Spec} to customize
* @author Alexey Nesterov
* @since 5.2
*/
public X509Spec x509() {
@ -2026,7 +2024,6 @@ public class ServerHttpSecurity {
* use
* @return {@link HttpBasicSpec} for additional customization
* @since 5.2.0
* @author Ankur Pathak
*/
public HttpBasicSpec authenticationEntryPoint(ServerAuthenticationEntryPoint authenticationEntryPoint) {
Assert.notNull(authenticationEntryPoint, "authenticationEntryPoint cannot be null");
@ -2456,7 +2453,6 @@ public class ServerHttpSecurity {
* custom headers writer
* @return the {@link HeaderSpec} to customize
* @since 5.3.0
* @author Ankur Pathak
*/
public HeaderSpec writer(ServerHttpHeadersWriter serverHttpHeadersWriter) {
Assert.notNull(serverHttpHeadersWriter, "serverHttpHeadersWriter cannot be null");
@ -2711,7 +2707,6 @@ public class ServerHttpSecurity {
* @param preload if subdomains should be included
* @return the {@link HstsSpec} to continue configuring
* @since 5.2.0
* @author Ankur Pathak
*/
public HstsSpec preload(boolean preload) {
HeaderSpec.this.hsts.setPreload(preload);
@ -4119,7 +4114,6 @@ public class ServerHttpSecurity {
/**
* Configures anonymous authentication
*
* @author Ankur Pathak
* @since 5.2.0
*/
public final class AnonymousSpec {

View File

@ -31,6 +31,7 @@ import org.springframework.util.Assert;
*
* @param <T> the type of object being authorized
* @author Rob Winch
* @author Robbie Martinus
* @since 5.0
*/
public class AuthorityReactiveAuthorizationManager<T> implements ReactiveAuthorizationManager<T> {
@ -67,8 +68,6 @@ public class AuthorityReactiveAuthorizationManager<T> implements ReactiveAuthori
/**
* Creates an instance of {@link AuthorityReactiveAuthorizationManager} with the
* provided authorities.
*
* @author Robbie Martinus
* @param authorities the authorities to check for
* @param <T> the type of object being authorized
* @return the new instance
@ -96,8 +95,6 @@ public class AuthorityReactiveAuthorizationManager<T> implements ReactiveAuthori
/**
* Creates an instance of {@link AuthorityReactiveAuthorizationManager} with the
* provided authorities.
*
* @author Robbie Martinus
* @param roles the authorities to check for prefixed with "ROLE_"
* @param <T> the type of object being authorized
* @return the new instance

View File

@ -104,7 +104,6 @@ public class HeaderWriterFilter extends OncePerRequestFilter {
* Allow writing headers at the beginning of the request.
* @param shouldWriteHeadersEagerly boolean to allow writing headers at the beginning
* of the request.
* @author Ankur Pathak
* @since 5.2
*/
public void setShouldWriteHeadersEagerly(boolean shouldWriteHeadersEagerly) {

View File

@ -82,7 +82,6 @@ public final class HstsHeaderWriter implements HeaderWriter {
* @param includeSubDomains maps to {@link #setIncludeSubDomains(boolean)}
* @param preload maps to {@link #setPreload(boolean)}
* @since 5.2.0
* @author Ankur Pathak
*/
public HstsHeaderWriter(RequestMatcher requestMatcher, long maxAgeInSeconds, boolean includeSubDomains,
boolean preload) {
@ -109,7 +108,6 @@ public final class HstsHeaderWriter implements HeaderWriter {
* @param includeSubDomains maps to {@link #setIncludeSubDomains(boolean)}
* @param preload maps to {@link #setPreload(boolean)}
* @since 5.2.0
* @author Ankur Pathak
*/
public HstsHeaderWriter(long maxAgeInSeconds, boolean includeSubDomains, boolean preload) {
this(new SecureRequestMatcher(), maxAgeInSeconds, includeSubDomains, preload);
@ -222,7 +220,6 @@ public final class HstsHeaderWriter implements HeaderWriter {
* </p>
* @param preload true to include preload, else false
* @since 5.2.0
* @author Ankur Pathak
*/
public void setPreload(boolean preload) {
this.preload = preload;

View File

@ -27,6 +27,7 @@ import org.springframework.web.server.ServerWebExchange;
* Writes the Strict-Transport-Security if the request is secure.
*
* @author Rob Winch
* @author Ankur Pathak
* @since 5.0
*/
public final class StrictTransportSecurityServerHttpHeadersWriter implements ServerHttpHeadersWriter {
@ -73,7 +74,6 @@ public final class StrictTransportSecurityServerHttpHeadersWriter implements Ser
* </p>
* @param preload if preload should be included
* @since 5.2.0
* @author Ankur Pathak
*/
public void setPreload(boolean preload) {
this.preload = preload ? " ; preload" : "";