if (!JiveGlobals.getBooleanProperty("xmpp.server.socket.active", true)) {
return false;
}
// By default there is no permission defined for the XMPP entity
Permission permission = null;
RemoteServerConfiguration config = getConfiguration(domain);
if (config != null) {
permission = config.getPermission();
}