openmeeting经验总结内容摘要:

pe  Crypt Class You can use this default crypt type which is equal to PHPMD5 function or BSDStyle encryption by using: for more information or to write your own CryptStyle see: CustomCryptMechanism You can edit this value later BUT previous created Users and Sessions might be not usable anymore Authentication Type  LDAP Config Entering a path pointing to a valid LDAP Configuration File 第 14 页 共 41 页 activates LDAP Authentification. Keep empty, if you want to keep the standard auth method. Admin users are always authenticated against local database, other user have to enter a valid LDAP password. Screen Viewer  Screenviewer Config Standard Viewer The standard Screenviewer is optimized for lowbandwidth areas You have the possibility of altering the quality of the screencapture,ie. The jrDesktop alternative starts immediately without GUI, just stoppable via SysTray Icon, but offers a higher speed tranferring the screencaptures to the whiteboard The RTP Sharer transfers Desktop Data as RTP Stream to Server. Best performance and quality is reached using 1024x768 as Screen Resolution Submit INSTALL 按照上述的填写好后,点击 INSTALL 按钮即可。 第 15 页 共 41 页 源码部署 源码下载 TortoiseSVN 图 7 第 16 页 共 41 页 图 8 Subclipse 它是 eclipse 的 SVN 插件,安装不予以描述。 消除项目红叉 主要有以下几种情况导致红叉: JRE 环境 重新配置,选择已经建好的 Installed JREs 第 17 页 共 41 页 图 9 少引用 jar包 图 10 错误提示是因为 不在 build path 里。 第 18 页 共 41 页 图 11 第三方 jar包版本的问题 在刚刚 checkout 的代码中我们可以看到如下图所示的错误: 图 12 这个问题很恶心,主要是 Apache 的 mina 包问题,项目使用的是 2 . x . x 版本的,但是 2 . x . x 版本的是没有 mon 这个路径的,我们需要自己手动下载 版本的,这里我到 官网下了 版本的,加到 WebContent/WEBINF/lib 文件夹下,问题解决。 最 后 右 击 工 程 , 新 建 一 个 server ,启动 tomcat ,在 IE 中输入 第 19 页 共 41 页 部署 openmeetings 例子 如何传参数给 openmeetings 找到 base\auth\,在第一个 oninit 加上 () handler name=oninit = new LzDelegate(this, login)。 (, [enter])。 (,true)。 ()。 /handler method name=login args=item if () { (text,yxUserName)。 (text,yxUserPass)。 ()。 } else { ()。 } /method 在里面加上 (text,yxUserName)。 (text,yxUserPass)。 找到 base\navi\ 在最下面 第 20 页 共 41 页 handler name=oninit ![CDATA[ var value =。 for (var i=0。 i。 i++){ var t1 = new (,{ textvalue:value[i].name,list:value[i].mainnavi, isleaf:value[i].isleaf, text:value[i]., textToolTip:value[i]., action:value[i].action })。 // if (i==0) ()。 if (i==2) ()。 //(t1: ,t1)。 } //(this: ,this)。 ]] /handler 我现在已经把 i=0 改为了 i=2,这样就直接进入到演讲之前的一个界面 ,接着我们就是触发进入按钮就 OK 了。 可以修改 ,在 openmeetings for java 的源码找到它 var so = new SWFObject(?lzt=swfamp。 lzr=swf8, lzapp, 100%, 100%, 8, ffffff)。 (quality, high)。 (id, lzapp)。 (allowScriptAccess, always)。 第 21 页 共 41 页 (scale, noscale)。 (yxUserName,39。 %=(userName)%39。 )。 (yxUserPass,39。 %=(pwd)%39。 )。 (flashcontent)。 以上 是我加的 ,就是把传过来的用户名与密码加入到 openlaze 中 ,这里的 yxUserName 与 yxUserPass 在 openLaze 中是全局变量。 最后在 IE中输入 图 13 使用 SOAP 网关实现 OpenMeetings 要了解 OpenMeetings 提供的 SOAPGateway 的接口信息,最简单的方法是把OpenMeetings 运行起来,然后在浏览器中输入: 第 22 页 共 41 页 图 14 以上信息告诉我们, SOAPGateway 实际上是一个采用 AXIS2 框架实现的 Web Service。 单击 Services,我们可以查到它是由 UserService、 RoomService 和FileService 三个 Service 组成。 再单击某个 Service,如 UserService 或直接键入链接( wsdl方式显示出它的全部方法和接口。 SOAPGateway的 SSO原理 SOAPGateway 提供了几个 WebService,其中的 UserService 是关于用户操作的,集中了 getSession(获取 SessionID)、 AddNewUser(注册新用户)、 loginUser(注册用户)、 setUserObjectAndGenerateRoomHash(设置用户对象并获取房间 Hash)等方法。 SOAPGateway测试 分解 SOAPGateway 实现 SSO 的步骤有三步: 第 23 页 共 41 页 第一步:向系统申请一个 SessionID,我们调用 getSession 方法 =getSession 界面返回 SessionID: c7b767838c5c308408a75cf86c74f7c1 第二步: 以管理员身份登录系统(与第一步申请的 SessionID绑定) , 调用 loginUser方法 =loginUseramp。 SID=c7b767838c5c308408a75cf86c74f7c1amp。 username=adminamp。 userpass=admin 其中: SID 是第一步时返回的 SessionID, username/userpass 是管理员的登录名 /密码(注意,必须是管理员的)。 返回值为 1 表示登录成功。 第三步: 提交用户名、房间号等信息获得进入某个房间的 secureHash(类似加密的票据),调用 setUserObjectAndGenerateRoomHash 方法 =setUserObjectAndGenerateRoomHashamp。 SID=c7b767838c5c308408a75cf86c74f7c1amp。 username=jgleeamp。 firstname=JGamp。 lastname=LEEamp。 profilePictureUrl=amp。 =jglee@amp。 externalUserId=amp。 externalUserType=amp。 room_id=2amp。 beeModeratorAsInt=1amp。 showAudioVideoTestAsInt=1 返回的是一个 secureHash 字符串,如: 6c280410c9。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。