try {
// serialize first to have a clone for security reasons (and to guarantee our Global)
// Note: We throw away the ConnectQosServer facade and create a new one (no specific data enters the core)
ConnectQosServer clone = xmlQos.getClone(glob);
ConnectReturnQosServer tmp = this.authenticate.connect(clone, secretSessionId);
return new ConnectReturnQosServer(glob, tmp.toXml());
}
catch (Throwable e) {
throw this.availabilityChecker.checkException(MethodName.CONNECT, e);
}
}