You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openmeetings.apache.org by howard <hy...@gmail.com> on 2013/10/25 15:11:28 UTC

how to skip the login page?

hi, guys. I'm trying to integrate my OpenMeetings with a web system based 
on jsp/servlet. 
I would like to do the user management in my jsp web system. 
so, I want to add a href in my system(jsp web system) linked to 
openmeetings(version:2.1.1).
I do like this:
modify checkLoginData.lzx:
step 1: add line after <library> : <dataset name="uset" request="true" 
src="http://localhost:8080/Manager/getUser.do"/>
step 2: edit: <customEdittext name="username" y="24" x="180" width="270" 
datapath="uset:/user[1]/username[1]/text()" >
step 3: edit:<customEdittext name="userpass" y="48" password="true" x="180" 
width="270" datapath="uset:/user[1]/password[1]/text()" >
step4: add line in oninit method: this.login();

after do this, rebuild, and restart openmeetings, I found the username and 
password are filled in the right fields, but the step4 take no effect.

please help me, thanks all.


Re: how to skip the login page?

Posted by Maxim Solodovnik <so...@gmail.com>.
please do not write to "openmeetings-dev@googlegroups.com" <
openmeetings-dev@googlegroups.com>

usually SOAP/REST is used to achieve such auto login
I guess your code is not working since login method requires parameter
please try
this.login(null)



On Fri, Oct 25, 2013 at 8:11 PM, howard <hy...@gmail.com> wrote:

>
> hi, guys. I'm trying to integrate my OpenMeetings with a web system based
> on jsp/servlet.
> I would like to do the user management in my jsp web system.
> so, I want to add a href in my system(jsp web system) linked to
> openmeetings(version:2.1.1).
> I do like this:
> modify checkLoginData.lzx:
> step 1: add line after <library> : <dataset name="uset" request="true"
> src="http://localhost:8080/Manager/getUser.do"/>
> step 2: edit: <customEdittext name="username" y="24" x="180" width="270"
> datapath="uset:/user[1]/username[1]/text()" >
> step 3: edit:<customEdittext name="userpass" y="48" password="true"
> x="180" width="270" datapath="uset:/user[1]/password[1]/text()" >
> step4: add line in oninit method: this.login();
>
> after do this, rebuild, and restart openmeetings, I found the username and
> password are filled in the right fields, but the step4 take no effect.
>
> please help me, thanks all.
>
>


-- 
WBR
Maxim aka solomax