| | |
| | | @Bean(name = "captchaProducerMathOne") |
| | | public DefaultKaptcha getKaptchaBeanMathOne() { |
| | | DefaultKaptcha defaultKaptcha = new DefaultKaptcha(); |
| | | Properties properties = commonConfig("com.dy.pipIrrGlobal.config.KaptchaMathOneTextCreator"); |
| | | Properties properties = commonConfig("com.dy.pipIrrApp.config.KaptchaMathOneTextCreator"); |
| | | Config config = new Config(properties); |
| | | defaultKaptcha.setConfig(config); |
| | | return defaultKaptcha; |
| | |
| | | @Bean(name = "captchaProducerMathTwo") |
| | | public DefaultKaptcha getKaptchaBeanMathTwo() { |
| | | DefaultKaptcha defaultKaptcha = new DefaultKaptcha(); |
| | | Properties properties = commonConfig("com.dy.pipIrrGlobal.config.KaptchaMathTwoTextCreator"); |
| | | Properties properties = commonConfig("com.dy.pipIrrApp.config.KaptchaMathTwoTextCreator"); |
| | | Config config = new Config(properties); |
| | | defaultKaptcha.setConfig(config); |
| | | return defaultKaptcha; |