protected HttpsServer createAndStartHttpsServer() throws Exception {
HttpsServer httpsServer = ((LiveCasData) getTestData()).createSSLServer();
URL callbackUrl = new URL(
GeoServerCasConstants.createProxyCallBackURl(proxyCallbackUrlPrefix.toString()));
httpsServer.createContext(callbackUrl.getPath(), new HttpsProxyCallBackHandler());
httpsServer.createContext(createRequest("/j_spring_cas_security_check").getRequestURI(),
new SingleSignOutHandler("/j_spring_cas_security_check"));
httpsServer.createContext(createRequest("/wms").getRequestURI(), new SingleSignOutHandler(
"/wms"));