// Path: bpg-generator/src/main/java/org/bellard/bpg/service/InstantService.java
// @Component
// public class InstantService {
// 	public Instant now() {
// 		return Instant.now();
// 	}	
// }


import java.awt.image.BufferedImage;
import java.util.Properties;
import javax.imageio.ImageIO;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.bellard.bpg.service.InstantService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import com.google.code.kaptcha.Constants;
import com.google.code.kaptcha.Producer;
import com.google.code.kaptcha.impl.DefaultKaptcha;
import com.google.code.kaptcha.util.Config;
package org.bellard.bpg.web;





@Controller
@Configuration
public class CaptchaController {

	@Autowired
// Path: bpg-generator/src/main/java/org/bellard/bpg/service/InstantService.java
// @Component
// public class InstantService {
// 	public Instant now() {
// 		return Instant.now();
// 	}	
// }


// Path: bpg-generator/src/main/java/org/bellard/bpg/web/CaptchaController.java
import java.awt.image.BufferedImage;
import java.util.Properties;
import javax.imageio.ImageIO;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.bellard.bpg.service.InstantService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import com.google.code.kaptcha.Constants;
import com.google.code.kaptcha.Producer;
import com.google.code.kaptcha.impl.DefaultKaptcha;
import com.google.code.kaptcha.util.Config;

package org.bellard.bpg.web;





@Controller
@Configuration
public class CaptchaController {

	@Autowired
	private InstantService instantService;