StaticApplicationContext context = new StaticApplicationContext();
context.refresh();
this.serviceValidateController = new ServiceValidateController();
this.serviceValidateController
.setCentralAuthenticationService(getCentralAuthenticationService());
final Cas20ProxyHandler proxyHandler = new Cas20ProxyHandler();
proxyHandler.setHttpClient(new HttpClient());
this.serviceValidateController.setProxyHandler(proxyHandler);
this.serviceValidateController.setApplicationContext(context);
this.serviceValidateController.setArgumentExtractor(new CasArgumentExtractor());
}