mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-10 04:13:31 +00:00
Update Deprecated Usage
Issue gh-12629
This commit is contained in:
parent
9b603b99ab
commit
208fb62db9
@ -1884,7 +1884,7 @@ public class OAuth2ResourceServerConfigurerTests {
|
||||
.anyRequest().authenticated()
|
||||
)
|
||||
.oauth2Login(withDefaults())
|
||||
.oauth2ResourceServer(OAuth2ResourceServerConfigurer::jwt);
|
||||
.oauth2ResourceServer((oauth2) -> oauth2.jwt(withDefaults()));
|
||||
return http.build();
|
||||
// @formatter:on
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user