Class CommonAutoConfiguration

java.lang.Object
tech.corefinance.common.config.CommonAutoConfiguration

@Configuration @ConditionalOnProperty(prefix="tech.corefinance.common.enabled", name="context", havingValue="true", matchIfMissing=true) public class CommonAutoConfiguration extends Object
  • Constructor Details

    • CommonAutoConfiguration

      public CommonAutoConfiguration()
  • Method Details

    • getLocaleResolver

      @Bean(name="localeResolver") @ConditionalOnMissingBean(org.springframework.web.servlet.LocaleResolver.class) public org.springframework.web.servlet.LocaleResolver getLocaleResolver()
    • applicationContextHolder

      @Bean @ConditionalOnMissingBean(ApplicationContextHolder.class) public ApplicationContextHolder applicationContextHolder()
    • jwtContext

      @Bean @ConditionalOnMissingBean(JwtContext.class) public JwtContext jwtContext()
    • simpleVersionComparator

      @Bean @ConditionalOnMissingBean(tech.corefinance.common.dto.SimpleVersionComparator.class) @ConditionalOnProperty(prefix="tech.corefinance.common.enabled", name="simple-version", havingValue="true") public tech.corefinance.common.dto.SimpleVersionComparator simpleVersionComparator()
    • getPasswordEncoder

      @Bean public org.springframework.security.crypto.password.PasswordEncoder getPasswordEncoder()