Class CustomerServiceAutoConfiguration.Providers

java.lang.Object
com.broadleafcommerce.customer.service.autoconfigure.CustomerServiceAutoConfiguration.Providers
Enclosing class:
CustomerServiceAutoConfiguration

@Configuration @EnableConfigurationProperties({SSLVerificationProperties.class,ExternalPaymentProperties.class}) public static class CustomerServiceAutoConfiguration.Providers extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.http.client.reactive.ClientHttpConnector
     
    Supplier<org.springframework.security.oauth2.client.web.reactive.function.client.ServletOAuth2AuthorizedClientExchangeFilterFunction>
    customerOauth2FilterFunctionSupplier(org.springframework.security.oauth2.client.registration.ClientRegistrationRepository clientRegistrations, Optional<org.springframework.http.client.reactive.ClientHttpConnector> clientHttpConnector)
    We'll leave this with a general name as it can (and should) be reused in a flex package.
    org.springframework.web.reactive.function.client.WebClient
    customerWebClient(Supplier<org.springframework.security.oauth2.client.web.reactive.function.client.ServletOAuth2AuthorizedClientExchangeFilterFunction> oauth2FilterSupplier, com.fasterxml.jackson.databind.ObjectMapper objectMapper, Optional<org.springframework.http.client.reactive.ClientHttpConnector> clientHttpConnector)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Providers

      public Providers()
  • Method Details

    • 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, @Qualifier("customerClientHttpConnector") Optional<org.springframework.http.client.reactive.ClientHttpConnector> clientHttpConnector)
    • 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, @Qualifier("customerClientHttpConnector") Optional<org.springframework.http.client.reactive.ClientHttpConnector> clientHttpConnector)
      We'll leave this with a general name as it can (and should) be reused in a flex package.
      Parameters:
      clientRegistrations -
      clientHttpConnector -
      Returns:
    • customerClientHttpConnector

      @Bean @ConditionalOnMissingBean(name="customerClientHttpConnector") public org.springframework.http.client.reactive.ClientHttpConnector customerClientHttpConnector(SSLVerificationProperties sslVerificationProperties) throws SSLException
      Throws:
      SSLException