Class BytedeskConfig

java.lang.Object
com.bytedesk.core.config.BytedeskConfig

@Configuration @Description("Bytedesk Core Configuration - \u6838\u5fc3\u914d\u7f6e\u7c7b\uff0c\u63d0\u4f9b ModelMapper\u3001\u5bc6\u7801\u7f16\u7801\u5668\u3001\u8ba4\u8bc1\u7ba1\u7406\u5668\u7b49\u57fa\u7840Bean") public class BytedeskConfig extends Object
Author:
bytedesk.com on 2018/12/29
  • Field Details

    • appVersion

      @Value("${application.version}") private String appVersion
  • Constructor Details

    • BytedeskConfig

      public BytedeskConfig()
  • Method Details

    • modelMapper

      @Bean public org.modelmapper.ModelMapper modelMapper()
    • passwordEncoder

      @Bean public org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder passwordEncoder()
    • applicationEventPublisher

      @Bean public org.springframework.context.ApplicationEventPublisher applicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher)
    • authenticationManager

      @Bean public org.springframework.security.authentication.AuthenticationManager authenticationManager(org.springframework.security.config.annotation.authentication.configuration.AuthenticationConfiguration config) throws Exception
      Throws:
      Exception
    • restTemplate

      @Bean public org.springframework.web.client.RestTemplate restTemplate()