Class BytedeskConfig

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

@Configuration 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()
    • applicationContextHolder

      @Bean public ApplicationContextHolder applicationContextHolder()