Entries in soaplogin are stored permanetly, sessiondata is cleared periodically (except the flag storepermanent is true).
The entry in soaplogin is generated whenever you call the function setUserObjectXYZ. I guess you should have a look at your soap call or the log file. Looks like the setUserObjectXYZ is never invoked. Sebastian 2011/10/20 Mike Warner <[email protected]> > thanks Sebastian. The soaplogin table is always empty. Should that > moderator info be permanently stored in soaplogin or just whenever the > room launch url is generated? > > Thanks again, > Mike > > On Oct 20, 10:23 am, "[email protected]" <[email protected]> > wrote: > > Hi Mike, > > > > the method: "setUserObjectAndGenerateRoomHash" > > > > http://code.google.com/p/openmeetings/source/browse/trunk/singlewebap... > > > > Creates an entry in the table "soaplogin". In this table there are a > number > > of columns: > > `allow_same_url_multiple_times`, `*becomemoderator*`, `client_url`, > > `created`, `hash`, `landing_zone`, `room_recording_id`, `room_id`, > > `session_hash`, `showaudiovideotest`, `show_nick_name_dialog` > > > > in the column becomemoderator the info is stored if that hash will be a > > moderator or not. > > > > There is a second table "sessiondata", that holds actually the > user-sessions > > of the users that are loggedin into OpenMeetings. Those tables are linked > by > > the session_id (hash). > > > > What happens if you loggin via SOAP is that you first request a new > session > > (new entry in sessiondata, this cannot be prevent as this is the default > > behaviour whenever you connect) and then the user tries to auth itself > with > > the "secureHash" that is append to the URL. Using this hash the user will > be > > loaded from the soaplogin-table and gets the rights that have been set > using > > the SoapMethod beforehand and gets assigned to that session that was > created > > for him via SOAP. > > > > Sebastian > > > > 2011/10/20 Mike Warner <[email protected]> > > > > > > > > > > > > > > > > > > > > > replying to my own post to add more info to the subject. Sorry that I > > > made it so vague the first time. > > > > > On Oct 19, 5:00 pm, Mike Warner <[email protected]> wrote: > > > > Hi, > > > > > > I'm working on integrating OpenMeetings into ATutor and am using > > > > Greg's ATutor module (and Sebastian's Moodle mod) as a basis. I've > > > > fixed a few things and am working on creating moderated rooms. Well, > > > > I can create them, but I'm not sure whether the moderator info is > > > > getting set by the SOAP call. Does it get stored anywhere where I > can > > > > view it in the OpenMeetings UI or the db? (can't seem to find it, if > > > > it is) I get -26 returned by a call to > > > > setUserObjectAndGenerateRoomHash whenever I try to set the moderator. > > > > I've tried both with and without externalUserId and externalUserType. > > > > I've also tried both true and false for becomeModeratorAsInt. > > > > > > The flow is: > > > > add moderated room via addRoomWithModeration > > > > add moderator to the room via setUserObjectAndGenerateRoomHash > > > > > > Params passed to setUserObjectAndGenerateRoomHash: > > > > > > [SID] => 16d965646a5ce6c385b7befc9417f496 > > > > [username] => [email protected] > > > > [firstname] => Bubba > > > > [lastname] => Franks > > > > [profilePictureUrl] => > > > > [email] => [email protected] > > > > [externalUserId] => 3987 > > > > [externalUserType] => atutor > > > > [room_id] => 102 > > > > [becomeModeratorAsInt] => 1 > > > > [showAudioVideoTestAsInt] => 1 > > > > > > Am I missing a step between the two? > > > > > > 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. > > > > > > > > -- > > 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.
