My favorites | Sign in
Logo
                
Search
for
Updated Yesterday (38 hours ago) by seba.wag...@gmail.com
Labels: Phase-Design, Phase-Implementation
DirectLoginSoapGeneralFlow  
General Flow of Direct-Login/Managing Rooms with SOAP-Gateway

This Feature will is available since Version 0.5.1

Summary

The trick about the DirectLogin-Flow (SSO) is that you can go into a room directly without having any OpenMeetings account. You always use the same (Admin!!) user to login via the Web-Service and then use the !setUserObjectAndGenerateRoomHash method to set custom user-value to a specific session. The Method !setUserObjectAndGenerateRoomHash returns a HASH, you add this HASH as param in the URL and thats it.

Recommended Scenario

You would like that people can create a conference room via your Application and return to that room several times. You only need to store the room-Id in your application logic, and the authentication data if the OpenMeetings admin user to manage the SOAP connection.

If a user wants to directly login into that room he does that in two basic steps (Phase 2 and Phase 3 in the Graph):

  1. Sets the User session (getSession, loginUser, setUserObjectAndGenerateRoomHash)
  2. Login into the Room, by adding the HASH from setUserObjectAndGenerateRoomHash to the URL

The HASH of setUserObjectAndGenerateRoomHash is only one time valid! For security reasons, otherwise people could take that link and send it by email and so flood the system with not-authorized access. If the Room needs password protection, then this must be implemented in the Application-Logic while managing the Room (Application Logic of the environment). Also this environment has to take care that the room will be deleted if it is not needed anymore.

URL for direct Room access: (secureHash=6c280410c96e91ea05d25e0b28b10a87 MUST be replaced with a valid HASH you create using the SOAP Gateway Method setUserObjectAndGenerateRoomHash) http://$YOUR_RED5_HOST:$YOUR_RED5_HTTP_PORT/openmeetings/main.swf8.swf?secureHash=6c280410c96e91ea05d25e0b28b10a87&language=4 or

(if the language_id is missing it will use the default_language_id from the configuration section)

How to set up a user as default Moderator in a Room

You may want that the Role from your system is transfered to OpenMeetings, so that for example in a ELearning application a teacher automatically is an Moderator. To force normal Users to wait in a room until the moderator has arrived you need to create the room via the method addRoomWithModeration and set the param isModeratedRoom to true. To generate a HASH for a User that then automatically is Moderator you set the param becomeModeratorAsInt to 1 in the Method setUserObjectAndGenerateRoomHash

General Flow Graph


Comment by ashwani7jul, Aug 12, 2009

localhost 5080 USER: admin Pass: welcome123 Error

wsdl error: HTTP ERROR: Unsupported HTTP response status 404 Not Found (soapclient->response has contents of the response)

Could not login User to OpenMeetings?, check your OpenMeetings? Module Configuration.Please Help me

Comment by seba.wag...@gmail.com, Sep 04, 2009

please visit our mailing List to get help

Comment by galdos.aritz, Sep 24, 2009

Is this method/flow only valid for admin users? I am trying to log in using webservice and works for admin user but not for common users.

Err message us (-26) which says that is needed administrators authorisation

Comment by petercc85, Sep 24, 2009

The first parameter in the method setUserObject is the Administrator's sessionID. That Id is then checked to see if the user requesting has authorization. Are you using the correct value ? Have you seen this ? http://code.google.com/p/openmeetings/wiki/MethodGateway


Sign in to add a comment
Hosted by Google Code