Update Deprecated Usage
Issue gh-12629
This commit is contained in:
@@ -1884,7 +1884,7 @@ public class OAuth2ResourceServerConfigurerTests {
|
||||
.anyRequest().authenticated()
|
||||
)
|
||||
.oauth2Login(withDefaults())
|
||||
.oauth2ResourceServer(OAuth2ResourceServerConfigurer::jwt);
|
||||
.oauth2ResourceServer((oauth2) -> oauth2.jwt(withDefaults()));
|
||||
return http.build();
|
||||
// @formatter:on
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user