Fix javadoc for migration from WebSecurityConfigurerAdapter

This commit is contained in:
Ruslan Stelmachenko 2023-04-11 21:54:27 +02:00 committed by Josh Cummings
parent 8bec14009e
commit caa4093619
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2002-2022 the original author or authors.
* Copyright 2002-2023 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.
@ -103,7 +103,7 @@ import org.springframework.web.accept.HeaderContentNegotiationStrategy;
* }
*
* @Bean
* public WebSecurityCustomizer webSecurityCustomizer(WebSecurity web) {
* public WebSecurityCustomizer webSecurityCustomizer() {
* return (web) -> web.ignoring().antMatchers("/resources/**");
* }
* </pre> See the <a href=