Never did the hack like this
I would better use SOAP integration if I were you :)


On Thu, Oct 31, 2013 at 7:10 PM, gileth <gay...@gmail.com> wrote:

> hi
> I want to skip login openmeetings in my system,and i did like this:
> 1.give this link :
> http://localhost:5080/openmeetings/main.swf8.swf?lzproxied=solo&lc_SID=183185&userName=test&pwd=123456
> 2.modify base/auth/checkLoginData.lzx
>  <handler name="oninit">
>     canvas.thishib.setDefaultUserLanguage();
>     _mainScrollBar.setAttribute("visibility","hidden");
>         lz.Focus.setFocus(this.username,true);
>         this.login(null);
> </handler>
> and modify login method code:
> <method name="login" args="item">
>         canvas.focusOnItem = this.username;
>         this.enterPressed = false;
>
>         if (this.b2.visible) {
>         var yxUserName=lz.Browser.getInitArg('userName');
>     var yxUserPass=lz.Browser.getInitArg('pwd');
>         this.username.setAttribute("text",yxUserName);
>         this.userpass.setAttribute("text",yxUserPass);
>                 this.b2.onclick.sendEvent();
>         } else {
>             this.b3.onclick.sendEvent();
>         }
>     </method>
> 3.start red5 server
> in debug mode,i see it 's running to netRemoteCallHib of loginUser,and the
> username,pwd data is right received,but the web stopped at login page with 
> username
> and password's data in their textbox,and the debuger show this error:
>
> error NetConnection.Call.Failed
> rtmp://localhost:1935/openmeetings/hibernate undefined name:
> getLoginOptions false
>
> I click the login button, then it login success and don't show this error!
> why it cann't automatic login?
>
> thanks, looking forward your reply.
>
> best regards!
>



-- 
WBR
Maxim aka solomax

Reply via email to