| 
					
				 | 
			
			
				@@ -146,7 +146,7 @@ The first is a `WebSecurityConfigurerAdapter` that configures the app as a resou 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 ---- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 protected void configure(HttpSecurity http) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     http 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        .authorizeRequests(authorize -> authorize 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        .authorizeHttpRequests(authorize -> authorize 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             .anyRequest().authenticated() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         .oauth2ResourceServer(OAuth2ResourceServerConfigurer::jwt); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -182,7 +182,7 @@ Replacing this is as simple as exposing the bean within the application: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 public class MyCustomSecurityConfiguration extends WebSecurityConfigurerAdapter { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     protected void configure(HttpSecurity http) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         http 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            .authorizeRequests(authorize -> authorize 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            .authorizeHttpRequests(authorize -> authorize 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 .mvcMatchers("/messages/**").hasAuthority("SCOPE_message:read") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 .anyRequest().authenticated() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             ) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -299,7 +299,7 @@ An authorization server's JWK Set Uri can be configured <<oauth2resourceserver-j 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 public class DirectlyConfiguredJwkSetUri extends WebSecurityConfigurerAdapter { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     protected void configure(HttpSecurity http) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         http 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            .authorizeRequests(authorize -> authorize 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            .authorizeHttpRequests(authorize -> authorize 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 .anyRequest().authenticated() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             .oauth2ResourceServer(oauth2 -> oauth2 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -359,7 +359,7 @@ More powerful than `jwkSetUri()` is `decoder()`, which will completely replace a 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 public class DirectlyConfiguredJwtDecoder extends WebSecurityConfigurerAdapter { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     protected void configure(HttpSecurity http) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         http 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            .authorizeRequests(authorize -> authorize 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            .authorizeHttpRequests(authorize -> authorize 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 .anyRequest().authenticated() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             .oauth2ResourceServer(oauth2 -> oauth2 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -719,7 +719,7 @@ This means that to protect an endpoint or method with a scope derived from a JWT 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 public class DirectlyConfiguredJwkSetUri extends WebSecurityConfigurerAdapter { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     protected void configure(HttpSecurity http) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         http 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            .authorizeRequests(authorize -> authorize 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            .authorizeHttpRequests(authorize -> authorize 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 .mvcMatchers("/contacts/**").hasAuthority("SCOPE_contacts") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 .mvcMatchers("/messages/**").hasAuthority("SCOPE_messages") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 .anyRequest().authenticated() 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -926,7 +926,7 @@ static class CustomAuthenticationConverter implements Converter<Jwt, AbstractAut 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 public class CustomAuthenticationConverterConfig extends WebSecurityConfigurerAdapter { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     protected void configure(HttpSecurity http) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         http 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            .authorizeRequests(authorize -> authorize 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            .authorizeHttpRequests(authorize -> authorize 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 .anyRequest().authenticated() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             .oauth2ResourceServer(oauth2 -> oauth2 
			 |