Re: OM 3.0.0 dayli build REST called roomLoginAsModeratot fail
you need to change 3) from 3.call login URL with stored HASH /openmeetings/?secureHash= Prew.StoredHashCode to 3.call login URL with stored HASH /openmeetings/swf?secureHash= Prew.StoredHashCode On Sun, Jun 2, 2013 at 12:12 PM, Varga Balázs wrote: > Hello ! > > I Try OM 3.0.0 843 dayli build from jenkins and have error on REST called > room login. > > Main app is integrated website, AJAX+PHP backend call the OM server and > get joining data - session and invitation hash. > The called REST result set on IFRAME with FancyBox and the room panel > loading into fancybox iframe with ajax. > > The oldest release (before om 3.0.0 463 2013-05-21_11_48_22) working good, > the newest is always redirect the OM login page! > > REST In the logs: user getSession() ok, userLogin success, dump debug USER > DATA, login correctly succesfull, and the Om WbAPP > not detect login cookie! Cookie detection fail (in IFRAME) redirect page > the signin/login page. > > Logs: > DEBUG 06-02 06:26:59.860 o.a.o.u.c.ManageCryptStyle:43 > [http-bio-0.0.0.0-5080-exec-1] - configKeyCryptClassName: > org.apache.openmeetings.utils.crypt.MD5Implementation > DEBUG 06-02 06:26:59.865 o.a.o.d.b.SessiondataDao:200 > [http-bio-0.0.0.0-5080-exec-1] - updateUser User: 1 || > 1d0dc0c1a0d3631d3f7d6ca7222bd68c > DEBUG 06-02 06:26:59.870 o.a.o.d.b.SessiondataDao:215 > [http-bio-0.0.0.0-5080-exec-1] - Found session to update: > 1d0dc0c1a0d3631d3f7d6ca7222bd68c userId: 1 > DEBUG 06-02 06:26:59.875 o.a.o.d.u.UserManager:282 > [http-bio-0.0.0.0-5080-exec-1] - loginUser > [org.apache.openmeetings.persistence.beans.domain.Organisation_Users@20, > org.apache.openmeetings.persistence.beans.domain.Organisation_Users@21] > DEBUG 06-02 06:26:59.876 o.a.o.d.u.UserManager:284 > [http-bio-0.0.0.0-5080-exec-1] - loginUser size 2 > DEBUG 06-02 06:26:59.929 o.a.o.a.s.UserWebService:891 > [http-bio-0.0.0.0-5080-exec-4] - username demo > DEBUG 06-02 06:26:59.929 o.a.o.a.s.UserWebService:892 > [http-bio-0.0.0.0-5080-exec-4] - firstname Balázs > DEBUG 06-02 06:26:59.929 o.a.o.a.s.UserWebService:893 > [http-bio-0.0.0.0-5080-exec-4] - lastname Varga > DEBUG 06-02 06:26:59.930 o.a.o.a.s.UserWebService:894 > [http-bio-0.0.0.0-5080-exec-4] - profilePictureUrl > DEBUG 06-02 06:26:59.930 o.a.o.a.s.UserWebService:895 > [http-bio-0.0.0.0-5080-exec-4] - email info%40magyarwebkonferencia.hu > DEBUG 06-02 06:26:59.930 o.a.o.a.s.UserWebService:896 > [http-bio-0.0.0.0-5080-exec-4] - externalUserId demo > DEBUG 06-02 06:26:59.930 o.a.o.a.s.UserWebService:897 > [http-bio-0.0.0.0-5080-exec-4] - externalUserType conference_pub > DEBUG 06-02 06:26:59.930 o.a.o.a.s.UserWebService:898 > [http-bio-0.0.0.0-5080-exec-4] - allowRecording 1 > DEBUG 06-02 06:26:59.939 o.a.o.a.s.UserWebService:905 > [http-bio-0.0.0.0-5080-exec-4] - xmlString > > demo > Balázs > Varga > > info%40magyarwebkonferencia.hu > demo > conference_pub > > DEBUG 06-02 06:26:59.940 o.a.o.d.b.SessiondataDao:314 > [http-bio-0.0.0.0-5080-exec-4] - updateUser User SID: > 1d0dc0c1a0d3631d3f7d6ca7222bd68c > DEBUG 06-02 06:27:00.011 o.a.o.u.c.ManageCryptStyle:38 > [http-bio-0.0.0.0-5080-exec-4] - getInstanceOfCrypt: > org.apache.openmeetings.utils.crypt.ManageCryptStyle@15819341 > DEBUG 06-02 06:27:00.011 o.a.o.u.c.ManageCryptStyle:43 > [http-bio-0.0.0.0-5080-exec-4] - configKeyCryptClassName: > org.apache.openmeetings.utils.crypt.MD5Implementation > DEBUG 06-02 06:27:00.558 o.a.w.p.h.s.ServletWebRequest:202 > [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from: > context path '/openmeetings', filterPrefix '', uri '/openmeetings/' > DEBUG 06-02 06:27:00.642 o.a.w.p.h.s.ServletWebRequest:202 > [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from: > context path '/openmeetings', filterPrefix '', uri '/openmeetings/signin' > DEBUG 06-02 06:27:00.642 o.a.w.p.PageAccessSynchronizer:100 > [http-bio-0.0.0.0-5080-exec-7] - 'http-bio-0.0.0.0-5080-exec-7' attempting > to acquire lock to page with id '6' > DEBUG 06-02 06:27:00.643 o.a.w.p.PageAccessSynchronizer:141 > [http-bio-0.0.0.0-5080-exec-7] - http-bio-0.0.0.0-5080-exec-7 acquired lock > to page 6 > DEBUG 06-02 06:27:02.101 o.a.w.u.c.CookieUtils:266 > [http-bio-0.0.0.0-5080-exec-7] - Unable to find Cookie with name=LoggedIn > and request URI=signin > DEBUG 06-02 06:27:02.238 o.a.o.d.b.d.LdapConfigDao:245 > [http-bio-0.0.0.0-5080-exec-7] - selectMaxFromConfigurations > DEBUG 06-02 06:27:02.279 o.a.w.p.h.s.ServletWebRequest:202 > [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from: > context path '/openmeetings', filterPrefix '', uri '/openmeetings/signin' > '/openmeetings', filterPrefix '', uri '/openmeetings/signin' > DEBUG 06-02 06:27:02.304 o.a.w.p.h.s.ServletWebRequest:202 > [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from: > context path '/openmeetings', filterPrefix '', uri '/openmeetings/signin' > DEBUG 06-02 06:27:02.304 o.a.w.p.h.s.ServletWebRequest:202 > [http-bio-0.0.0.0-5080-ex
OM 3.0.0 dayli build REST called roomLoginAsModeratot fail
Hello ! I Try OM 3.0.0 843 dayli build from jenkins and have error on REST called room login. Main app is integrated website, AJAX+PHP backend call the OM server and get joining data - session and invitation hash. The called REST result set on IFRAME with FancyBox and the room panel loading into fancybox iframe with ajax. The oldest release (before om 3.0.0 463 2013-05-21_11_48_22) working good, the newest is always redirect the OM login page! REST In the logs: user getSession() ok, userLogin success, dump debug USER DATA, login correctly succesfull, and the Om WbAPP not detect login cookie! Cookie detection fail (in IFRAME) redirect page the signin/login page. Logs: DEBUG 06-02 06:26:59.860 o.a.o.u.c.ManageCryptStyle:43 [http-bio-0.0.0.0-5080-exec-1] - configKeyCryptClassName: org.apache.openmeetings.utils.crypt.MD5Implementation DEBUG 06-02 06:26:59.865 o.a.o.d.b.SessiondataDao:200 [http-bio-0.0.0.0-5080-exec-1] - updateUser User: 1 || 1d0dc0c1a0d3631d3f7d6ca7222bd68c DEBUG 06-02 06:26:59.870 o.a.o.d.b.SessiondataDao:215 [http-bio-0.0.0.0-5080-exec-1] - Found session to update: 1d0dc0c1a0d3631d3f7d6ca7222bd68c userId: 1 DEBUG 06-02 06:26:59.875 o.a.o.d.u.UserManager:282 [http-bio-0.0.0.0-5080-exec-1] - loginUser [org.apache.openmeetings.persistence.beans.domain.Organisation_Users@20, org.apache.openmeetings.persistence.beans.domain.Organisation_Users@21] DEBUG 06-02 06:26:59.876 o.a.o.d.u.UserManager:284 [http-bio-0.0.0.0-5080-exec-1] - loginUser size 2 DEBUG 06-02 06:26:59.929 o.a.o.a.s.UserWebService:891 [http-bio-0.0.0.0-5080-exec-4] - username demo DEBUG 06-02 06:26:59.929 o.a.o.a.s.UserWebService:892 [http-bio-0.0.0.0-5080-exec-4] - firstname Balázs DEBUG 06-02 06:26:59.929 o.a.o.a.s.UserWebService:893 [http-bio-0.0.0.0-5080-exec-4] - lastname Varga DEBUG 06-02 06:26:59.930 o.a.o.a.s.UserWebService:894 [http-bio-0.0.0.0-5080-exec-4] - profilePictureUrl DEBUG 06-02 06:26:59.930 o.a.o.a.s.UserWebService:895 [http-bio-0.0.0.0-5080-exec-4] - email info%40magyarwebkonferencia.hu DEBUG 06-02 06:26:59.930 o.a.o.a.s.UserWebService:896 [http-bio-0.0.0.0-5080-exec-4] - externalUserId demo DEBUG 06-02 06:26:59.930 o.a.o.a.s.UserWebService:897 [http-bio-0.0.0.0-5080-exec-4] - externalUserType conference_pub DEBUG 06-02 06:26:59.930 o.a.o.a.s.UserWebService:898 [http-bio-0.0.0.0-5080-exec-4] - allowRecording 1 DEBUG 06-02 06:26:59.939 o.a.o.a.s.UserWebService:905 [http-bio-0.0.0.0-5080-exec-4] - xmlString demo Balázs Varga info%40magyarwebkonferencia.hu demo conference_pub DEBUG 06-02 06:26:59.940 o.a.o.d.b.SessiondataDao:314 [http-bio-0.0.0.0-5080-exec-4] - updateUser User SID: 1d0dc0c1a0d3631d3f7d6ca7222bd68c DEBUG 06-02 06:27:00.011 o.a.o.u.c.ManageCryptStyle:38 [http-bio-0.0.0.0-5080-exec-4] - getInstanceOfCrypt: org.apache.openmeetings.utils.crypt.ManageCryptStyle@15819341 DEBUG 06-02 06:27:00.011 o.a.o.u.c.ManageCryptStyle:43 [http-bio-0.0.0.0-5080-exec-4] - configKeyCryptClassName: org.apache.openmeetings.utils.crypt.MD5Implementation DEBUG 06-02 06:27:00.558 o.a.w.p.h.s.ServletWebRequest:202 [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from: context path '/openmeetings', filterPrefix '', uri '/openmeetings/' DEBUG 06-02 06:27:00.642 o.a.w.p.h.s.ServletWebRequest:202 [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from: context path '/openmeetings', filterPrefix '', uri '/openmeetings/signin' DEBUG 06-02 06:27:00.642 o.a.w.p.PageAccessSynchronizer:100 [http-bio-0.0.0.0-5080-exec-7] - 'http-bio-0.0.0.0-5080-exec-7' attempting to acquire lock to page with id '6' DEBUG 06-02 06:27:00.643 o.a.w.p.PageAccessSynchronizer:141 [http-bio-0.0.0.0-5080-exec-7] - http-bio-0.0.0.0-5080-exec-7 acquired lock to page 6 DEBUG 06-02 06:27:02.101 o.a.w.u.c.CookieUtils:266 [http-bio-0.0.0.0-5080-exec-7] - Unable to find Cookie with name=LoggedIn and request URI=signin DEBUG 06-02 06:27:02.238 o.a.o.d.b.d.LdapConfigDao:245 [http-bio-0.0.0.0-5080-exec-7] - selectMaxFromConfigurations DEBUG 06-02 06:27:02.279 o.a.w.p.h.s.ServletWebRequest:202 [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from: context path '/openmeetings', filterPrefix '', uri '/openmeetings/signin' '/openmeetings', filterPrefix '', uri '/openmeetings/signin' DEBUG 06-02 06:27:02.304 o.a.w.p.h.s.ServletWebRequest:202 [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from: context path '/openmeetings', filterPrefix '', uri '/openmeetings/signin' DEBUG 06-02 06:27:02.304 o.a.w.p.h.s.ServletWebRequest:202 [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from: context path '/openmeetings', filterPrefix '', uri '/openmeetings/signin' DEBUG 06-02 06:27:02.304 o.a.w.p.h.s.ServletWebRequest:202 [http-bio-0.0.0.0-5080-exec-7] - Calculating context relative path from: context path '/openmeetings', filterPrefix '', uri '/openmeetings/signin' DEBUG 06-02 06:27:02.395 o.a.o.u.m.MailHandler:241 [org.