class ConfigController {

	@RequestMapping(path = "/{key:.+}", method = PUT)
	public void setKey(
		HttpServletRequest request,
		HttpServletResponse response,
		@PathVariable String key,
		@RequestBody(required = false) String value
	) throws IOException
	{
		SessionEntry session = authFilter.handle(request, response);

		if (session == null)
		{
			return;
		}

		configService.setKey(session.getUser(), key, value);
	}

	@Autowired public  ConfigController(ConfigService configService, AuthFilter authFilter);

}