Revision: 3693
Author: seba.wagner
Date: Thu Mar 24 03:29:39 2011
Log: Modifications to fix user id in recordings for external users
http://code.google.com/p/openmeetings/source/detail?r=3693
Modified:
/trunk/singlewebapp/WebContent/openmeetings/base/hibernate/hibRtmpConnection.lzx
/trunk/singlewebapp/WebContent/openmeetings/modules/admin/connections/roomClientListItem.lzx
/trunk/singlewebapp/src/app/org/openmeetings/app/remote/MainService.java
=======================================
---
/trunk/singlewebapp/WebContent/openmeetings/base/hibernate/hibRtmpConnection.lzx
Wed Nov 10 04:08:36 2010
+++
/trunk/singlewebapp/WebContent/openmeetings/base/hibernate/hibRtmpConnection.lzx
Thu Mar 24 03:29:39 2011
@@ -284,7 +284,8 @@
</netRemoteCallHib>
<netRemoteCallHib name="secureLoginByRemote" activeErrorHandler="true"
- funcname="xmlcrm.secureLoginByRemote" >
+ funcname="xmlcrm.secureLoginByRemote" >
+ <netparam><method name="getValue">return
canvas.sessionId;</method></netparam>
<netparam name="remoteSessionId"><method name="getValue">return
canvas.secureHash;</method></netparam>
<handler name="ondata" args="value">
<![CDATA[
=======================================
---
/trunk/singlewebapp/WebContent/openmeetings/modules/admin/connections/roomClientListItem.lzx
Tue Nov 3 11:34:57 2009
+++
/trunk/singlewebapp/WebContent/openmeetings/modules/admin/connections/roomClientListItem.lzx
Thu Mar 24 03:29:39 2011
@@ -53,6 +53,7 @@
<labelTooltip name="_labelTooltip" multiline="false">
<handler name="setContent">
+ if ($debug) Debug.write(parent.obj);
this.setAttribute('text',"publicSID: "+parent.obj.publicSID);
</handler>
</labelTooltip>
=======================================
---
/trunk/singlewebapp/src/app/org/openmeetings/app/remote/MainService.java
Wed Nov 10 03:53:07 2010
+++
/trunk/singlewebapp/src/app/org/openmeetings/app/remote/MainService.java
Thu Mar 24 03:29:39 2011
@@ -412,7 +412,7 @@
*/
}
- public Object secureLoginByRemote(String secureHash) {
+ public Object secureLoginByRemote(String SID, String secureHash) {
try {
log.debug("############### secureLoginByRemote "+secureHash);
@@ -441,6 +441,11 @@
Long loginReturn =
this.loginUserByRemote(soapLogin.getSessionHash());
+ IConnection current = Red5.getConnectionLocal();
+ String streamId = current.getClient().getId();
+ RoomClient currentClient =
this.clientListManager.getClientByStreamId(streamId);
+ Sessionmanagement.getInstance().updateUser(SID,
currentClient.getUser_id());
+
if (loginReturn == null) {
return -1L;
} else if (loginReturn < 0) {
@@ -588,6 +593,8 @@
log.debug("UPDATE USER BY STREAMID "+streamId);
+ Sessionmanagement.getInstance().updateUser(SID,
currentClient.getUser_id());
+
this.clientListManager.updateClientByStreamId(streamId,
currentClient);
return new Long(1);
--
You received this message because you are subscribed to the Google Groups
"OpenMeetings developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/openmeetings-dev?hl=en.