Client Auth Conformance Tests - change parent POM (#827)
- Small javaformat fixes - Closes gh-827 Signed-off-by: Daniel Garnier-Moiroux <git@garnier.wf>
This commit is contained in:
parent
46bacda3c3
commit
81a18ed02e
2 changed files with 34 additions and 17 deletions
|
|
@ -24,8 +24,8 @@ public class DefaultConfiguration {
|
|||
|
||||
@Bean
|
||||
DefaultScenario defaultScenario(McpClientRegistrationRepository clientRegistrationRepository,
|
||||
ServletWebServerApplicationContext serverCtx,
|
||||
OAuth2AuthorizedClientRepository oAuth2AuthorizedClientRepository) {
|
||||
ServletWebServerApplicationContext serverCtx,
|
||||
OAuth2AuthorizedClientRepository oAuth2AuthorizedClientRepository) {
|
||||
return new DefaultScenario(clientRegistrationRepository, serverCtx, oAuth2AuthorizedClientRepository);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -29,8 +29,7 @@ import static io.modelcontextprotocol.conformance.client.ConformanceSpringClient
|
|||
|
||||
public class DefaultScenario implements Scenario {
|
||||
|
||||
private static final Logger log = LoggerFactory
|
||||
.getLogger(DefaultScenario.class);
|
||||
private static final Logger log = LoggerFactory.getLogger(DefaultScenario.class);
|
||||
|
||||
private final ServletWebServerApplicationContext serverCtx;
|
||||
|
||||
|
|
@ -39,8 +38,8 @@ public class DefaultScenario implements Scenario {
|
|||
private McpSyncClient client;
|
||||
|
||||
public DefaultScenario(McpClientRegistrationRepository clientRegistrationRepository,
|
||||
ServletWebServerApplicationContext serverCtx,
|
||||
OAuth2AuthorizedClientRepository oAuth2AuthorizedClientRepository) {
|
||||
ServletWebServerApplicationContext serverCtx,
|
||||
OAuth2AuthorizedClientRepository oAuth2AuthorizedClientRepository) {
|
||||
this.serverCtx = serverCtx;
|
||||
this.authorizedClientManager = new DefaultOAuth2AuthorizedClientManager(clientRegistrationRepository,
|
||||
oAuth2AuthorizedClientRepository);
|
||||
|
|
|
|||
Loading…
Reference in a new issue