Class CustomerServiceAutoConfiguration.Providers

    • Constructor Detail

      • Providers

        public Providers()
    • Method Detail

      • customerWebClient

        @Bean
        @ConditionalOnMissingBean(name="customerWebClient")
        public org.springframework.web.reactive.function.client.WebClient customerWebClient​(@Qualifier("oAuth2FilterFunctionSupplier")
                                                                                            Supplier<org.springframework.security.oauth2.client.web.reactive.function.client.ServletOAuth2AuthorizedClientExchangeFilterFunction> oauth2FilterSupplier,
                                                                                            com.fasterxml.jackson.databind.ObjectMapper objectMapper,
                                                                                            SSLVerificationProperties sslVerificationProperties)
                                                                                     throws SSLException
        Throws:
        SSLException
      • customerOauth2FilterFunctionSupplier

        @Bean(name="oAuth2FilterFunctionSupplier")
        @ConditionalOnMissingBean(name="oAuth2FilterFunctionSupplier")
        public Supplier<org.springframework.security.oauth2.client.web.reactive.function.client.ServletOAuth2AuthorizedClientExchangeFilterFunction> customerOauth2FilterFunctionSupplier​(org.springframework.security.oauth2.client.registration.ClientRegistrationRepository clientRegistrations,
                                                                                                                                                                                          SSLVerificationProperties sslVerificationProperties)
        We'll leave this with a general name as it can (and should) be reused in a flex package.
        Parameters:
        clientRegistrations -
        sslVerificationProperties -
        Returns:
      • customerPaymentProvider

        @Bean
        @ConditionalOnMissingBean
        public PaymentProvider<Payment> customerPaymentProvider​(@Qualifier("customerWebClient")
                                                                org.springframework.web.reactive.function.client.WebClient webClient,
                                                                com.fasterxml.jackson.databind.ObjectMapper objectMapper,
                                                                com.broadleafcommerce.common.extension.TypeFactory typeFactory,
                                                                ExternalPaymentProperties properties)