From 14d630b8682c425880511a2c5ddf520198f55205 Mon Sep 17 00:00:00 2001 From: Fabrice Bacchella <fbacchella@spamcop.net> Date: Sat, 23 May 2015 15:59:28 -0400 Subject: [PATCH] Create web.rewriteSession key for use with tomcat and CAS --- src/main/java/com/gitblit/fanout/FanoutConstants.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gitblit/fanout/FanoutConstants.java b/src/main/java/com/gitblit/fanout/FanoutConstants.java index 6e6964c..84fd2c5 100644 --- a/src/main/java/com/gitblit/fanout/FanoutConstants.java +++ b/src/main/java/com/gitblit/fanout/FanoutConstants.java @@ -25,11 +25,11 @@ public final static String CH_DEBUG = "debug"; public final static String MSG_CONNECTED = "connected..."; public final static String MSG_BUSY = "busy"; - + public static String getRemoteSocketId(Socket socket) { return socket.getInetAddress().getHostAddress() + ":" + socket.getPort(); } - + public static String getLocalSocketId(Socket socket) { return socket.getInetAddress().getHostAddress() + ":" + socket.getLocalPort(); } -- Gitblit v1.9.1