From fac7264247c13ed79388f185b68f75c08f845120 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20J=C3=A4kel?= Date: Mon, 14 Dec 2020 23:55:29 +0100 Subject: [PATCH] Update WellKnownHostMeta.java Allow to override the annouced port of the XMPP server, `httpbind.port.secure` (with the default `7443`), by a public view defined by `httpbind.publicport.secure`. --- pade/src/java/org/ifsoft/sso/WellKnownHostMeta.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pade/src/java/org/ifsoft/sso/WellKnownHostMeta.java b/pade/src/java/org/ifsoft/sso/WellKnownHostMeta.java index 4bbb7d04..e179acf4 100644 --- a/pade/src/java/org/ifsoft/sso/WellKnownHostMeta.java +++ b/pade/src/java/org/ifsoft/sso/WellKnownHostMeta.java @@ -30,7 +30,7 @@ public void doGet(HttpServletRequest request, HttpServletResponse response) thro try { writeHeader(response); - String server = XMPPServer.getInstance().getServerInfo().getHostname() + ":" + JiveGlobals.getProperty("httpbind.port.secure", "7443"); + final String server = XMPPServer.getInstance().getServerInfo().getHostname() + ":" + JiveGlobals.getProperty("httpbind.publicport.secure", JiveGlobals.getProperty("httpbind.port.secure", "7443")); response.getOutputStream().println(""); response.getOutputStream().println(" "); response.getOutputStream().println(" ");