The params in the SOAP API call
http://incubator.apache.org/openmeetings/UserService.html#setUserObjectMainLandingZone

are not optional, you have to set an externalUserId and type parameter not
just the SID.

Sebastian

2012/2/22 weyerma <[email protected]>

> ok, i do the following to test:
>
> for the SID:
> http://server.ch:5080/**openmeetings/services/**UserService/getSession<http://server.ch:5080/openmeetings/services/UserService/getSession>
>
> <ns:getSessionResponse><ns:**return xsi:type="ax21:Sessiondata"><**
> ax21:id>73</ax21:id><ax21:**language_id 
> xsi:nil="true"/><ax21:**organization_id
> xsi:nil="true"/><ax21:refresh_**time>2012-02-22</ax21:refresh_**time><ax21:sessionXml
> xsi:nil="true"/><ax21:session_**id>**b934751f5f23b5e2c979a73c9fbd7c**
> f3</ax21:session_id><ax21:**starttermin_time>2012-02-22</**
> ax21:starttermin_time><ax21:**storePermanent
> xsi:nil="true"/><ax21:user_id xsi:nil="true"/></ns:return></**
> ns:getSessionResponse>
>
>
> for login:
> http://server.ch:5080/**openmeetings/services/**UserService/loginUser?SID=
> **b934751f5f23b5e2c979a73c9fbd7c**f3&username=admin&userpass=**password<http://server.ch:5080/openmeetings/services/UserService/loginUser?SID=b934751f5f23b5e2c979a73c9fbd7cf3&username=admin&userpass=password>
>
> <ns:loginUserResponse><ns:**return>1</ns:return></ns:**loginUserResponse>
>
> for landing zone:
>
> http://server.ch:5080/**openmeetings/services/**UserService/**
> setUserObjectMainLandingZone?**SID=http://server.ch:5080/**
> openmeetings/services/**UserService/**setUserObjectMainLandingZone?**SID=*
> *b49bf973c7d845901b52def0fb6501**36<http://server.ch:5080/openmeetings/services/UserService/setUserObjectMainLandingZone?SID=http://server.ch:5080/openmeetings/services/UserService/setUserObjectMainLandingZone?SID=b49bf973c7d845901b52def0fb650136>
>
> <ns:**setUserObjectMainLandingZoneRe**sponse><ns:return>**
> d093730627c4e5f01a21130ff779ba**07</ns:return></ns:**
> setUserObjectMainLandingZoneRe**sponse>
>
> then i try to login:
> http://server.ch:5080/**openmeetings/?secureHash=**
> d093730627c4e5f01a21130ff779ba**07<http://server.ch:5080/openmeetings/?secureHash=d093730627c4e5f01a21130ff779ba07>
>
> then i always get:
>
> Unknown error. Please report this to the Administrator.
>
> Do i understand something wrong ?
>
>
> Zitat von "[email protected]" <[email protected]>:
>
>  *If i understand this right, via the SOAP/REST API, i can just direct
>> login
>> to a room... right ? *
>> => No, see my last email with the link to the SOAP/REST call to login to
>> the dashboard.
>>
>> Sebastian
>>
>> 2012/2/22 weyerma <[email protected]**>
>>
>>  the user is always from LDAP.
>>> The Juniper uses the same data from ADS...
>>> Its just a additional authentification for security...
>>>
>>> The idea is, the server is in the DMZ and ports are open. The login page
>>> can be only processed reached via the Juniper from the internal network.
>>> In juniper i do the following:
>>>
>>> http://server.ch:5080/****openmeetings/?username=<http://server.ch:5080/**openmeetings/?username=>
>>> <http:/**/server.ch:5080/openmeetings/?**username=<http://server.ch:5080/openmeetings/?username=>
>>> >
>>> "xxxxx"**&password="xxxxx"&**domain="**xxxx"
>>>
>>> and replace the values with the login vars from the SA.
>>>
>>> If i understand this right, via the SOAP/REST API, i can just direct
>>> login
>>> to a room... right ? i like to do the normal login way, like with the
>>> login
>>> form.
>>>
>>>
>>> Zitat von "[email protected]" <[email protected]>:
>>>
>>>  Fixing username/pwd will also not fix it really, what userId, email
>>> avatar
>>>
>>>> will the user use for its session after the login then ?
>>>> You should build your own doorway page using the SOAP/REST API instead
>>>> of
>>>> changing the source code to send the credentials elsewhere.
>>>> By doing that you will not need to edit any source code of OpenMeetings
>>>> and
>>>> can also easily switch between OpenMeetings versions.
>>>>
>>>> Sebastian
>>>>
>>>> 2012/2/22 weyerma <[email protected]****>
>>>>
>>>>  I like to use the openmeetings with our Juniper SA for auth.
>>>>
>>>>>
>>>>> Can someone give me a hint, how i can call the login directly from the
>>>>> login window ? i just need to pass the vars "user, password, domain"
>>>>> over
>>>>> the url and send them in the login window. I figured out to call the
>>>>> parent.login(); in checkLoginData.lzx but i don`t know how to send the
>>>>> login variables.
>>>>>
>>>>>
>>>>> Is there no function like login(username,password,******domain); ?
>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> Sebastian Wagner
>>>> http://www.openmeetings.de
>>>> http://incubator.apache.org/****openmeetings/<http://incubator.apache.org/**openmeetings/>
>>>> <http://**incubator.apache.org/**openmeetings/<http://incubator.apache.org/openmeetings/>
>>>> >
>>>> http://www.webbase-design.de
>>>> http://www.wagner-sebastian.****com 
>>>> <http://www.wagner-sebastian.**com<http://www.wagner-sebastian.com>
>>>> >
>>>> [email protected]
>>>>
>>>>
>>>>
>>>
>>
>> --
>> Sebastian Wagner
>> http://www.openmeetings.de
>> http://incubator.apache.org/**openmeetings/<http://incubator.apache.org/openmeetings/>
>> http://www.webbase-design.de
>> http://www.wagner-sebastian.**com <http://www.wagner-sebastian.com>
>> [email protected]
>>
>>
>


-- 
Sebastian Wagner
http://www.openmeetings.de
http://incubator.apache.org/openmeetings/
http://www.webbase-design.de
http://www.wagner-sebastian.com
[email protected]

Reply via email to