public AuthenticatedService(Server server, String name, String type, Map<?, ?> config) throws Exception {
		super(server, name, type, config);
		
		log.debug("Finding the authenticator");
		Object obj = config.get("authenticator");
		if (obj != null && !(obj instanceof String))
			throw new Exception("Problem loading configuration: services > service > authenticator");
		this.auth = (String) obj;
	}