KissoConfig.kt 463 B

1234567891011121314151617181920
  1. package com.gxzc.zen.umps.config
  2. import com.baomidou.kisso.web.WebKissoConfigurer
  3. import org.springframework.context.annotation.Bean
  4. import org.springframework.context.annotation.Configuration
  5. /**
  6. *
  7. * @author NorthLan
  8. * @date 2018/3/5
  9. * @url https://noahlan.com
  10. */
  11. @Configuration
  12. class KissoConfig {
  13. @Bean
  14. fun webKissoConfigurer(): WebKissoConfigurer {
  15. return WebKissoConfigurer("properties/sso.properties").also { it.initKisso() }
  16. }
  17. }