Unfortunately it is impossible to perform auto-login for "normal" users. By implementing auto-login you take care of user authentication and all users are sort of "external". In case you need to separate them you can assign different "externalUserType" for these 2 groups
On Thu, Nov 28, 2013 at 4:16 PM, 小野圭二 <[email protected]> wrote: > Thank you form your reply, Maxim. > In fact, i have two type user. > > 1.One is the external user, and they enter into a room by > using setUserObjectAndGenerateRoomHash(). > 2.The other is the normal user in OM, and they enter into their dashboard > by using setUserObjectMainLandingZone(). > > I have image 1 need "external parameter", but 2 dose not need them. > In my test, setUserObjectAndGenerateRoomHash() need not "external > parameter", they worked with null. > If setUserObjectMainLandingZone() need them, what shall i set in the case > of normal user(mean not external user)? > > -Ono > > > 2013/11/28 Maxim Solodovnik <[email protected]> > >> I believe this is the problem: >> externalUserId=&externalUserType=<http://localhost:5080/openmeetings/services/UserService/setUserObjectMainLandingZone?SID=e50cd93df12e620d30f6eb66e46110d9&username=onoke&firstname=ono1&lastname=keiji&profilePictureUrl=&[email protected]&externalUserId=&externalUserType=> >> These 2 parameters are REQUIRED >> >> "external user id" is the ID unique in your external system for the user >> you are setting >> "external user type" is the unique alias of your external system. >> >> These 2 parameters should identify user you are setting >> >> >> >> On Thu, Nov 28, 2013 at 2:24 PM, 小野圭二 <[email protected]> wrote: >> >>> Ok, i found it was v2.2.0. >>> >>> DEBUG 11-28 15:54:04.818 o.a.o.Version:96 [Launcher:/openmeetings] - >>> ################################################## >>> # Openmeetings is up # >>> # 2.2.0-SNAPSHOT 1546244 28-November-2013 # >>> # and ready to use # >>> ################################################## >>> >>> >>> And also figured out the errors, but i have no idea to resolve it.:< >>> I used setUserObjectMainLandingZone() for REST to auto login. >>> >>> >>> >>> ERROR 11-28 16:15:40.148 o.a.o.r.r.ScopeApplicationAdapter:1791 >>> [NioProcessor-10] - [setUsername] >>> java.lang.NullPointerException: null >>> at >>> org.apache.openmeetings.remote.red5.ScopeApplicationAdapter.setUsernameAndSession(ScopeApplicationAdapter.java:1782) >>> ~[openmeetings-2.2.0-SNAPSHOT.jar:na] >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> ~[na:1.7.0_25] >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >>> ~[na:1.7.0_25] >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>> ~[na:1.7.0_25] >>> at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_25] >>> at >>> org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:196) >>> ~[red5.jar:na] >>> at >>> org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:115) >>> ~[red5.jar:na] >>> at >>> org.red5.server.net.rtmp.RTMPHandler.invokeCall(RTMPHandler.java:157) >>> ~[red5.jar:na] >>> at org.red5.server.net.rtmp.RTMPHandler.onInvoke(RTMPHandler.java:394) >>> ~[red5.jar:na] >>> at >>> org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:130) >>> ~[red5.jar:na] >>> at >>> org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived(RTMPMinaIoHandler.java:164) >>> ~[red5.jar:na] >>> at >>> org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:716) >>> ~[mina-core-2.0.4.jar:na] >>> at >>> org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434) >>> ~[mina-core-2.0.4.jar:na] >>> at >>> org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46) >>> ~[mina-core-2.0.4.jar:na] >>> at >>> org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796) >>> ~[mina-core-2.0.4.jar:na] >>> at >>> org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:427) >>> ~[mina-core-2.0.4.jar:na] >>> at >>> org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:245) >>> ~[mina-core-2.0.4.jar:na] >>> at >>> org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434) >>> ~[mina-core-2.0.4.jar:na] >>> at >>> org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46) >>> ~[mina-core-2.0.4.jar:na] >>> at >>> org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796) >>> ~[mina-core-2.0.4.jar:na] >>> at >>> org.red5.server.net.rtmpe.RTMPEIoFilter.messageReceived(RTMPEIoFilter.java:124) >>> ~[red5.jar:na] >>> at >>> org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434) >>> ~[mina-core-2.0.4.jar:na] >>> at >>> org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46) >>> ~[mina-core-2.0.4.jar:na] >>> at >>> org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796) >>> ~[mina-core-2.0.4.jar:na] >>> at >>> org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:119) >>> ~[mina-core-2.0.4.jar:na] >>> at >>> org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434) >>> ~[mina-core-2.0.4.jar:na] >>> at >>> org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:426) >>> ~[mina-core-2.0.4.jar:na] >>> at >>> org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:715) >>> ~[mina-core-2.0.4.jar:na] >>> at >>> org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:668) >>> ~[mina-core-2.0.4.jar:na] >>> at >>> org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:657) >>> ~[mina-core-2.0.4.jar:na] >>> at >>> org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPollingIoProcessor.java:68) >>> ~[mina-core-2.0.4.jar:na] >>> at >>> org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1141) >>> ~[mina-core-2.0.4.jar:na] >>> at >>> org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) >>> ~[mina-core-2.0.4.jar:na] >>> at >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >>> ~[na:1.7.0_25] >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >>> ~[na:1.7.0_25] >>> at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25] >>> >>> >>> >>> 2013/11/28 Maxim Solodovnik <[email protected]> >>> >>>> you can check OM log >>>> The version is in a very beginning. >>>> >>>> I suspect there is some error on start. >>>> could you please check the logs? >>>> >>>> >>>> On Thu, Nov 28, 2013 at 1:45 PM, 小野圭二 <[email protected]> wrote: >>>> >>>>> I replaced to ver.2.x, and do again auto login, but dashboard did not >>>>> show. >>>>> I attache the screen image. >>>>> >>>>> I assume the compiled module version that was branch 2.x. >>>>> How can i confirm the version? >>>>> >>>>> -Ono >>>>> >>>>> >>>>> 2013/11/28 Maxim Solodovnik <[email protected]> >>>>> >>>>>> yes, complete replace >>>>>> >>>>>> >>>>>> On Thu, Nov 28, 2013 at 9:22 AM, 小野圭二 <[email protected]> wrote: >>>>>> >>>>>>> Ok, it should be whole replace, should not it? >>>>>>> I am going to have separate one in my server. >>>>>>> >>>>>>> Thx. >>>>>>> >>>>>>> -Ono >>>>>>> >>>>>>> >>>>>>> 2013/11/28 Maxim Solodovnik <[email protected]> >>>>>>> >>>>>>>> Basic instructions are: >>>>>>>> >>>>>>>> 1*) make backup (if you have valuable info) >>>>>>>> 2*) drop DB >>>>>>>> 3) delete OM >>>>>>>> 4) create DB >>>>>>>> 5) unzip >>>>>>>> 6) restore/install >>>>>>>> >>>>>>>> *) you can create separate DB for om.2.2 while testing instead of >>>>>>>> drop >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Thu, Nov 28, 2013 at 9:12 AM, 小野圭二 <[email protected]> wrote: >>>>>>>> >>>>>>>>> Hi Maxim, >>>>>>>>> >>>>>>>>> I compiled the branch 2.x and got them in the dist path. >>>>>>>>> Then should i replace whole ver.2.1.1 to the dist one, or just jar >>>>>>>>> files(openmeetings-2.2.0-SNAPSHOT.jar,openmeetings-WebService-2.2.0-SNAPSHOT.jar, >>>>>>>>> openmeetings-templates-2.2.0-SNAPSHOT.jar) and swf >>>>>>>>> file(main.as3.swf11.swf) >>>>>>>>> run into ver.2.1.1 ? >>>>>>>>> >>>>>>>>> Thx. >>>>>>>>> >>>>>>>>> -Ono >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> 2013/11/26 小野圭二 <[email protected]> >>>>>>>>> >>>>>>>>>> My is 2.1.1. >>>>>>>>>> I am going to version up to 2.2 from source. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> 2013/11/26 Maxim Solodovnik <[email protected]> >>>>>>>>>> >>>>>>>>>>> Just have checked using 2.2 >>>>>>>>>>> Works as expected >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Tue, Nov 26, 2013 at 5:20 PM, 小野圭二 <[email protected]>wrote: >>>>>>>>>>> >>>>>>>>>>>> thanks >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> 2013/11/26 Maxim Solodovnik <[email protected]> >>>>>>>>>>>> >>>>>>>>>>>>> will try to check this later today >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On Tue, Nov 26, 2013 at 5:12 PM, 小野圭二 <[email protected]>wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Thank you Maxim. >>>>>>>>>>>>>> I cannot any items in the dashboard just now. >>>>>>>>>>>>>> >>>>>>>>>>>>>> >dashboard.show.myrooms >>>>>>>>>>>>>> >dashboard.show.rssfeed >>>>>>>>>>>>>> >dashboard.show.chat >>>>>>>>>>>>>> Those should be changed in global settings, right? >>>>>>>>>>>>>> My config is as following. >>>>>>>>>>>>>> dashboard.show.myrooms ->1 >>>>>>>>>>>>>> dashboard.show.rssfeed ->0 >>>>>>>>>>>>>> dashboard.show.chat ->1 >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> 2013/11/26 Maxim Solodovnik <[email protected]> >>>>>>>>>>>>>> >>>>>>>>>>>>>>> This feature was originally developed to login using FB :) >>>>>>>>>>>>>>> (just ignore the message) >>>>>>>>>>>>>>> Can you see more items on the dashboard while entering as >>>>>>>>>>>>>>> normal user? >>>>>>>>>>>>>>> have you changed following (undocumented) config options: >>>>>>>>>>>>>>> dashboard.show.myrooms >>>>>>>>>>>>>>> dashboard.show.rssfeed >>>>>>>>>>>>>>> dashboard.show.chat >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Tue, Nov 26, 2013 at 4:54 PM, 小野圭二 <[email protected]>wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Ah, step 4 was. :-) >>>>>>>>>>>>>>>> As sure as could login, but not dashboard. >>>>>>>>>>>>>>>> It raised a dialog that said 'you entered by using Facebook >>>>>>>>>>>>>>>> account...,'. >>>>>>>>>>>>>>>> And there are only menu,"contact and message", "user', >>>>>>>>>>>>>>>> "logout" and "bug report". >>>>>>>>>>>>>>>> The other was nothing. >>>>>>>>>>>>>>>> I did not use fb account. What this? >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> 2013/11/26 Maxim Solodovnik <[email protected]> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> you basically need step 4 :) >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> you can enter the dashboard using following URL >>>>>>>>>>>>>>>>> http://localhost:5080/openmeetings?secureHash= >>>>>>>>>>>>>>>>> *63ec9442133d717fab4339c971e3ba4f* >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> hash in bold is generated by you on step 3 >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> On Tue, Nov 26, 2013 at 4:37 PM, 小野圭二 >>>>>>>>>>>>>>>>> <[email protected]>wrote: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> Wow, sorry for missing minus, it seems like i am tired. >>>>>>>>>>>>>>>>>> ;-b >>>>>>>>>>>>>>>>>> Then i got as following, seems like hash code. >>>>>>>>>>>>>>>>>> <ns:setUserObjectMainLandingZoneResponse> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> <ns:return>63ec9442133d717fab4339c971e3ba4f</ns:return></ns:setUserObjectMainLandingZoneResponse> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> The url is >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> http://localhost:5080/openmeetings/services/UserService/setUserObjectMainLandingZone?SID=e50cd93df12e620d30f6eb66e46110d9&username=onoke&firstname=ono1&lastname=keiji&profilePictureUrl=&[email protected]&externalUserId=&externalUserType= >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> I expectd to enter into dashboard by the above url, but >>>>>>>>>>>>>>>>>> just return xml. >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> Guaaaa. >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> -Ono >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> 2013/11/26 Maxim Solodovnik <[email protected]> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> According to this table >>>>>>>>>>>>>>>>>>> http://openmeetings.apache.org/ErrorsTable.html >>>>>>>>>>>>>>>>>>> -26 ErrorAdmin authorization required >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> on step 2 you need to login as admin/soap user >>>>>>>>>>>>>>>>>>> on step 3 you need to set all the details of your >>>>>>>>>>>>>>>>>>> "external" user >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> According to the code you can only go to dashboard using >>>>>>>>>>>>>>>>>>> this function (other areas are not accessible) >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> On Tue, Nov 26, 2013 at 3:31 PM, 小野圭二 < >>>>>>>>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> Hi Maxim, >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> Thank you for your reply, and i shame my blind eyes. >>>>>>>>>>>>>>>>>>>> But i could not entry to the dashboard directly by >>>>>>>>>>>>>>>>>>>> using the api. >>>>>>>>>>>>>>>>>>>> My procedure as following, >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> 1.get session by using getSession() >>>>>>>>>>>>>>>>>>>> 2.login by using loginUser() >>>>>>>>>>>>>>>>>>>> 3.then redirect to the server by using >>>>>>>>>>>>>>>>>>>> setUserObjectMainLandingZone() >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> I used all for REST. >>>>>>>>>>>>>>>>>>>> I got xml strings from 3 as following, it seems works. >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> <ns:setUserObjectMainLandingZoneResponse> >>>>>>>>>>>>>>>>>>>> <ns:return>-26</ns:return> >>>>>>>>>>>>>>>>>>>> </ns:setUserObjectMainLandingZoneResponse> >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> Any lack in my procedure? >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> Thx. >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> -Ono >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> 2013/11/26 Maxim Solodovnik <[email protected]>: >>>>>>>>>>>>>>>>>>>> > Hello Ono, >>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>> > I guess you need this method >>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>> http://openmeetings.apache.org/UserService.html#setUserObjectMainLandingZone >>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>> > zones are listed here: >>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>> http://openmeetings.apache.org/GeneralConfiguration.htmlunder >>>>>>>>>>>>>>>>>>>> > "default.landing.zone" key >>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>> > On Tue, Nov 26, 2013 at 7:35 AM, 小野圭二 < >>>>>>>>>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>>>>>>> >> Hi, >>>>>>>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>>>>>>> >> I know how to enter any meeting room directly by >>>>>>>>>>>>>>>>>>>> using api, but could >>>>>>>>>>>>>>>>>>>> >> not figure out to enter home at first. >>>>>>>>>>>>>>>>>>>> >> Is there any way to do this? >>>>>>>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>>>>>>> >> Thx >>>>>>>>>>>>>>>>>>>> >> >>>>>>>>>>>>>>>>>>>> >> -Ono >>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>>> > -- >>>>>>>>>>>>>>>>>>>> > WBR >>>>>>>>>>>>>>>>>>>> > Maxim aka solomax >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>>> WBR >>>>>>>>>>>>>>>>>>> Maxim aka solomax >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>> WBR >>>>>>>>>>>>>>>>> Maxim aka solomax >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>> WBR >>>>>>>>>>>>>>> Maxim aka solomax >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> WBR >>>>>>>>>>>>> Maxim aka solomax >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> WBR >>>>>>>>>>> Maxim aka solomax >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> WBR >>>>>>>> Maxim aka solomax >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> WBR >>>>>> Maxim aka solomax >>>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> WBR >>>> Maxim aka solomax >>>> >>> >>> >> >> >> -- >> WBR >> Maxim aka solomax >> > > -- WBR Maxim aka solomax
