I have been debugging this issue a number of times for some projects. I cannot remember exactly the root that did cause those issues but I can remember the method I was solving it:
If you create a secureHash using the methods of the SOAP API, you will create entries in the databases tables: sessiondata and soaplogin you should check those entries, I think the problem was that in the sessiondata there was at some point of the login process a -1 in the user_id instead of the correct one .... ahh now I think I can remember: Did you set a externalUserId in the setUserObjectAndGenerateRoomHash method? You should always set this number (actually you can use also a string for this value). You should set the SAME externalUserId for the SAME external-user (so of course the primary use-case is that you set the user_id of ATutor for example in the externalUserId ... this is important because: The user has a "private drive" in the Library => this Private drive contains data only the user is able to access. This private drive is always the SAME no matter what conference room you access. If you are using the same externalUserId for ALL soap users this private drive is for everybody the same ... that is of course NOT what you would like to have... Sebastian 2011/10/28 Mike Warner <[email protected]>: > hmmm...thanks Sebastian. I started with the ATutor OpenMeetings > module (and have added/fixed many features). Must be an issue in the > code I haven't touched yet, since SOAP users were never able to upload > files. I'll dig through the documentation to see if a step is > missing. > > Thanks again, > Mike > > On Oct 28, 10:24 am, "[email protected]" <[email protected]> > wrote: >> Mike, >> >> everybody no matter if moderator or not should use the secureHash. >> For the rest I think you've missed a step or misunderstood some part >> of the integration documentation. >> >> It is a common problem to loose the userlevel if the SOAP login was not >> right. >> >> Sebastian >> >> 2011/10/28 Mike Warner <[email protected]>: >> >> >> >> >> >> >> >> >> >> > the "OR" means that moderators use the secureHash and regular users >> > use room id plus sid. >> >> > Mike >> >> > On Oct 28, 9:49 am, "[email protected]" <[email protected]> >> > wrote: >> >> *secureHash or sid * >> >> >> why "OR" >> >> >> it is always the secureHash, also no need for the roomId (except you >> >> are using the optimized login URL with the scopeRoomId). >> >> >> Sebastian >> >> >> 2011/10/28 Mike Warner <[email protected]>: >> >> >> > Hi Maxim, >> >> >> > the sequence is: >> >> >> > 1) getSession >> >> > 2) loginUser >> >> > 3) setUserObjectAndGenerateRoomHash (for moderators), setUserObject >> >> > (for non-moderators) >> >> > 4) (not SOAP, but final step) user clicks launch url containing >> >> > secureHash or sid plus roomid, respectively. >> >> >> > The user names are displayed in the left panel and the correct user is >> >> > set as moderator in the moderated room. >> >> >> > Thanks, >> >> > Mike >> >> >> > On Oct 27, 9:53 pm, Maxim Solodovnik <[email protected]> wrote: >> >> >> Hello Mike, >> >> >> >> according to the log there is no real user (userId == 0) >> >> >> could you please double check the sequence of your SOAP calls? >> >> >> or provide it here >> >> >> >> On Fri, Oct 28, 2011 at 02:32, Mike Warner <[email protected]> >> >> >> wrote: >> >> >> > Any user entering from an LMS (bypassing the OpenMeetings login form) >> >> >> > can't upload files. /opt/red5/log/openmeetings.log shows: >> >> >> >> > DEBUG 10-27 15:13:49.275 UploadHandler.java 881894499 156 >> >> >> > org.openmeetings.servlet.outputhandler.UploadHandler >> >> >> > [http-0.0.0.0-5080-6] - starting upload >> >> >> > DEBUG 10-27 15:13:49.275 UploadHandler.java 881894499 169 >> >> >> > org.openmeetings.servlet.outputhandler.UploadHandler >> >> >> > [http-0.0.0.0-5080-6] - uploading 16707 bytes >> >> >> > DEBUG 10-27 15:13:49.275 UploadHandler.java 881894499 175 >> >> >> > org.openmeetings.servlet.outputhandler.UploadHandler >> >> >> > [http-0.0.0.0-5080-6] - sid: 30101997029a66846031169f9746ebc6 >> >> >> > DEBUG 10-27 15:13:49.281 UploadHandler.java 881894505 179 >> >> >> > org.openmeetings.servlet.outputhandler.UploadHandler >> >> >> > [http-0.0.0.0-5080-6] - userId = 0, userLevel = -1 >> >> >> > DEBUG 10-27 15:13:49.281 UploadHandler.java 881894505 182 >> >> >> > org.openmeetings.servlet.outputhandler.UploadHandler >> >> >> > [http-0.0.0.0-5080-6] - insufficient user level -1 >> >> >> >> > How do I set the correct userLevel? The user I used to generate >> >> >> > those >> >> >> > particular log file lines was a moderator who logged in via a >> >> >> > secureHash. (all other user types experienc the same) >> >> >> >> > When I login via the login form in OpenMeetings, I can upload files >> >> >> > fine. >> >> >> >> > I see userLevel in RoomService, but it looks like a gettable value, >> >> >> > only. >> >> >> >> > Thanks, >> >> >> > Mike >> >> >> >> > -- >> >> >> > 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. >> >> >> >> -- >> >> >> WBR >> >> >> Maxim aka solomax >> >> >> > -- >> >> > 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 >> >> > athttp://groups.google.com/group/openmeetings-dev?hl=en. >> >> >> -- >> >> Sebastian >> >> Wagnerhttp://www.openmeetings.dehttp://www.webbase-design.dehttp://www.wagn... >> >> [email protected] >> >> > -- >> > 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 >> > athttp://groups.google.com/group/openmeetings-dev?hl=en. >> >> -- >> Sebastian >> Wagnerhttp://www.openmeetings.dehttp://www.webbase-design.dehttp://www.wagner-sebastian.com >> [email protected] > > -- > 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. > > -- Sebastian Wagner http://www.openmeetings.de http://www.webbase-design.de http://www.wagner-sebastian.com [email protected] -- 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.
