parent
400cd60368
commit
5dff157755
|
@ -945,10 +945,8 @@ public class AuthorizeHttpRequestsConfigurerTests {
|
|||
SecurityFilterChain chain(HttpSecurity http) throws Exception {
|
||||
// @formatter:off
|
||||
http
|
||||
.httpBasic()
|
||||
.and()
|
||||
.rememberMe()
|
||||
.and()
|
||||
.httpBasic(withDefaults())
|
||||
.rememberMe(withDefaults())
|
||||
.authorizeHttpRequests((requests) -> requests
|
||||
.anyRequest().fullyAuthenticated()
|
||||
);
|
||||
|
@ -970,10 +968,8 @@ public class AuthorizeHttpRequestsConfigurerTests {
|
|||
SecurityFilterChain chain(HttpSecurity http) throws Exception {
|
||||
// @formatter:off
|
||||
http
|
||||
.httpBasic()
|
||||
.and()
|
||||
.rememberMe()
|
||||
.and()
|
||||
.httpBasic(withDefaults())
|
||||
.rememberMe(withDefaults())
|
||||
.authorizeHttpRequests((requests) -> requests
|
||||
.anyRequest().rememberMe()
|
||||
);
|
||||
|
@ -995,8 +991,7 @@ public class AuthorizeHttpRequestsConfigurerTests {
|
|||
SecurityFilterChain chain(HttpSecurity http) throws Exception {
|
||||
// @formatter:off
|
||||
http
|
||||
.httpBasic()
|
||||
.and()
|
||||
.httpBasic(withDefaults())
|
||||
.authorizeHttpRequests((requests) -> requests
|
||||
.anyRequest().anonymous()
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue