|
|
|
@ -74,13 +74,11 @@ public class IdentifyUtil {
|
|
|
|
ip = inetUtil.findFirstNonLoopBackHostInfo().getIpAddress();
|
|
|
|
ip = inetUtil.findFirstNonLoopBackHostInfo().getIpAddress();
|
|
|
|
port = environment.getProperty("server.port", "8080");
|
|
|
|
port = environment.getProperty("server.port", "8080");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
String identify = new StringBuilder()
|
|
|
|
String identify = ip
|
|
|
|
.append(ip)
|
|
|
|
+ ":"
|
|
|
|
.append(":")
|
|
|
|
+ port
|
|
|
|
.append(port)
|
|
|
|
+ IDENTIFY_SLICER_SYMBOL
|
|
|
|
.append(IDENTIFY_SLICER_SYMBOL)
|
|
|
|
+ CLIENT_IDENTIFICATION_VALUE;
|
|
|
|
.append(CLIENT_IDENTIFICATION_VALUE)
|
|
|
|
|
|
|
|
.toString();
|
|
|
|
|
|
|
|
IDENTIFY = identify;
|
|
|
|
IDENTIFY = identify;
|
|
|
|
return identify;
|
|
|
|
return identify;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|