package at.gv.egiz.moazs.preprocess; import at.gv.zustellung.app2mzs.xsd.ConfigType; import org.springframework.stereotype.Component; @Component public class ConfigProfileValidator { public boolean isComplete(ConfigType profile) { //TODO: add check fo x509 certificate return profile != null && profile.isPerformQueryPersonRequest() != null && profile.getServer() != null && profile.getServer().getZUSEUrlID() != null; } }