2012/8/28 <[email protected]>: > Send users mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.xwiki.org/mailman/listinfo/users > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of users digest..." > > > Today's Topics: > > 1. custom athentication issues. (Bob Egolf) > 2. Start point to update the XWiki Editor in XWiki > (Boudjelda Mohamed Said) > 3. Re: Start point to update the XWiki Editor in XWiki > (Marius Dumitru Florea) > 4. selected the informations tab as default on every pages > (Joseph-Andre Guaragna) > 5. Re: selected the informations tab as default on every pages > (Vincent Massol) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 27 Aug 2012 08:20:48 -0400 > From: Bob Egolf <[email protected]> > To: XWiki Users <[email protected]> > Subject: [xwiki-users] custom athentication issues. > Message-ID: > <camh_rhihmreaztjy890af7z1etp9qiwu4xq6x3aevkhebsk...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Good morning, > > This is a duplicate post of one I sent to the devs list in case this is a > better place for the question. > > I am writing a custom authentication class following notes from > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication > and the sample given in > http://bodez.wordpress.com/2008/10/15/xwiki-user-authentication-with-oracle-sso/ > > > The class is written and I can see the Remote Authentication is called and > returns just fine and my method returns a new XWikiUser > > however, in my logs I see the checkAuth being fired twice, once with the > j_username = entered username... but the second time it is fired set to null > and is always returning a login failure. > > Here is my checkAuth method: > public XWikiUser checkAuth(XWikiContext context) throws XWikiException { > > log.debug("ARFSSOAuthServiceImpl.checkAuth"); > > String user = getRemoteUser(context); > > if (user==null || user.equals("")){ > log.error("SSOAuthServiceImpl: User cannot be authenticated > (REMOTE_USER is null)"); > // TODO: redirect login. > return null; > }else{ > log.warn("ARFSSOAuthServiceImpl: User " + user + " has been authenticated"); > this.createUser(user, context); > user = "XWiki." + user; > } > log.warn("SSOAuthServiceImpl: authentication successful context.setUser " + > user); > context.setUser(user); > return new XWikiUser(user); > > } > > > Here is the log from a single post of the credentials: > 2012-08-25 11:11:30,285 [ > http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN > sso.ARFSSOAuthServiceImpl - sso Auth check auth before super > 2012-08-25 11:11:30,287 [ > http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN > sso.ARFSSOAuthServiceImpl - request j_username = testuser > 2012-08-25 11:11:30,287 [ > http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN > sso.ARFSSOAuthServiceImpl - request j_password = testpwd > 2012-08-25 11:11:30,287 [ > http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN > sso.ARFWebAuthenticator - processLogin j_username = testuser > 2012-08-25 11:11:30,288 [ > http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN > sso.ARFWebAuthenticator - processLogin j_password = testpwd > 2012-08-25 11:11:30,289 [ > http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN > net.ARFHttpClient - ARFHttpClient post request to: > http://localhost.com/test.php > 2012-08-25 11:11:30,417 [ > http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN > net.ARFHttpClient - ARFHttpClient response string: > status=0|firstname=Test|lastname=User > 2012-08-25 11:11:30,418 [ > http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN > sso.ARFWebAuthenticator - processLogin... webresponse status = 0 > 2012-08-25 11:11:30,421 [ > http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN > sso.ARFWebAuthenticator - convertARFResponseToUsername token = > TestUser > 2012-08-25 11:11:30,421 [ > http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN > sso.ARFSSOAuthServiceImpl - ARFSSOAuthServiceImpl: User TestUser has > been authenticated > 2012-08-25 11:11:30,422 [ > http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN > sso.ARFSSOAuthServiceImpl - ARFSSOAuthServiceImpl.createUser: User > TestUser before find. > 2012-08-25 11:11:30,427 [ > http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN > sso.ARFSSOAuthServiceImpl - ARFSSOAuthServiceImpl.createUser: > XwikiUser XWiki.TestUser after find. > 2012-08-25 11:11:30,427 [ > http://zzzzzzz/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN > sso.ARFSSOAuthServiceImpl - SSOAuthServiceImpl: authentication > successful context.setUser XWiki.TestUser > 2012-08-25 11:11:31,080 [http://zzzzzzz/xwiki/bin/view/Main/?srid=HNnJrnSa] > WARN sso.ARFSSOAuthServiceImpl - sso Auth check auth before super > 2012-08-25 11:11:31,081 [http://zzzzzzz/xwiki/bin/view/Main/?srid=HNnJrnSa] > WARN sso.ARFSSOAuthServiceImpl - request j_username = null > 2012-08-25 11:11:31,081 [http://zzzzzzz/xwiki/bin/view/Main/?srid=HNnJrnSa] > WARN sso.ARFSSOAuthServiceImpl - request j_password = null > 2012-08-25 11:11:31,081 [http://zzzzzzz/xwiki/bin/view/Main/?srid=HNnJrnSa] > WARN sso.ARFWebAuthenticator - processLogin j_username = null > 2012-08-25 11:11:31,081 [http://zzzzzzz/xwiki/bin/view/Main/?srid=HNnJrnSa] > WARN sso.ARFWebAuthenticator - processLogin j_password = null > 2012-08-25 11:11:31,081 [http://zzzzzzz/xwiki/bin/view/Main/?srid=HNnJrnSa] > WARN net.ARFHttpClient - ARFHttpClient post request to: > http://localhost.com/test.php > 2012-08-25 11:11:31,159 [http://zzzzzzz/xwiki/bin/view/Main/?srid=HNnJrnSa] > WARN net.ARFHttpClient - ARFHttpClient response string: > status=100 > 2012-08-25 11:11:31,159 [http://zzzzzzz/xwiki/bin/view/Main/?srid=HNnJrnSa] > WARN sso.ARFWebAuthenticator - processLogin... webresponse status > = 100 > 2012-08-25 11:11:31,159 [http://zzzzzzz/xwiki/bin/view/Main/?srid=HNnJrnSa] > ERROR sso.ARFSSOAuthServiceImpl - SSOAuthServiceImpl: User cannot be > authenticated (REMOTE_USER is null) > 2012-08-25 11:11:31,810 [ > http://zzzzzzz/xwiki/bin/login/XWiki/XWikiLogin?srid=HNnJrnSa&xredirect=%2Fxwiki%2Fbin%2Fview%2FMain%2F%3Fsrid%3DHNnJrnSa] > WARN sso.ARFSSOAuthServiceImpl - sso Auth check auth before super > 2012-08-25 11:11:31,810 [ > http://zzzzzzz/xwiki/bin/login/XWiki/XWikiLogin?srid=HNnJrnSa&xredirect=%2Fxwiki%2Fbin%2Fview%2FMain%2F%3Fsrid%3DHNnJrnSa] > WARN sso.ARFSSOAuthServiceImpl - request j_username = null > 2012-08-25 11:11:31,810 [ > http://zzzzzzz/xwiki/bin/login/XWiki/XWikiLogin?srid=HNnJrnSa&xredirect=%2Fxwiki%2Fbin%2Fview%2FMain%2F%3Fsrid%3DHNnJrnSa] > WARN sso.ARFSSOAuthServiceImpl - request j_password = null > 2012-08-25 11:11:31,810 [ > http://zzzzzzz/xwiki/bin/login/XWiki/XWikiLogin?srid=HNnJrnSa&xredirect=%2Fxwiki%2Fbin%2Fview%2FMain%2F%3Fsrid%3DHNnJrnSa] > WARN sso.ARFWebAuthenticator - processLogin j_username = null > 2012-08-25 11:11:31,810 [ > http://zzzzzzz/xwiki/bin/login/XWiki/XWikiLogin?srid=HNnJrnSa&xredirect=%2Fxwiki%2Fbin%2Fview%2FMain%2F%3Fsrid%3DHNnJrnSa] > WARN sso.ARFWebAuthenticator - processLogin j_password = null > 2012-08-25 11:11:31,811 [ > http://zzzzzzz/xwiki/bin/login/XWiki/XWikiLogin?srid=HNnJrnSa&xredirect=%2Fxwiki%2Fbin%2Fview%2FMain%2F%3Fsrid%3DHNnJrnSa] > WARN net.ARFHttpClient - ARFHttpClient post request to: > http://localhost.com/test.php > 2012-08-25 11:11:31,877 [ > http://zzzzzzz/xwiki/bin/login/XWiki/XWikiLogin?srid=HNnJrnSa&xredirect=%2Fxwiki%2Fbin%2Fview%2FMain%2F%3Fsrid%3DHNnJrnSa] > WARN net.ARFHttpClient - ARFHttpClient response string: > status=100 > 2012-08-25 11:11:31,878 [ > http://zzzzzzz/xwiki/bin/login/XWiki/XWikiLogin?srid=HNnJrnSa&xredirect=%2Fxwiki%2Fbin%2Fview%2FMain%2F%3Fsrid%3DHNnJrnSa] > WARN sso.ARFWebAuthenticator - processLogin... webresponse status > = 100 > 2012-08-25 11:11:31,878 [ > http://zzzzzzz/xwiki/bin/login/XWiki/XWikiLogin?srid=HNnJrnSa&xredirect=%2Fxwiki%2Fbin%2Fview%2FMain%2F%3Fsrid%3DHNnJrnSa] > ERROR sso.ARFSSOAuthServiceImpl - SSOAuthServiceImpl: User cannot be > authenticated (REMOTE_USER is null) > 2012-08-25 11:11:32,041 [ > http://zzzzzzz/xwiki/bin/login/XWiki/XWikiLogin?srid=HNnJrnSa&xredirect=%2Fxwiki%2Fbin%2Fview%2FMain%2F%3Fsrid%3DHNnJrnSa] > WARN internal.DefaultVelocityEngine - Deprecated usage of method > [com.xpn.xwiki.api.XWiki.parseMessage] in /templates/login.vm@28,33 > > > > Any help is appreciated, > Bob > > XWiki Version: XWiki Enterprise 3.0-rc-1.35909 > > Do I need to upgrade to get this functionality? > > > ------------------------------ > > Message: 2 > Date: Mon, 27 Aug 2012 23:48:53 +0100 > From: Boudjelda Mohamed Said <[email protected]> > To: [email protected] > Subject: [xwiki-users] Start point to update the XWiki Editor in XWiki > Message-ID: > <cao60pa2q-sj0cz715d+jwrmqdveojcgqtndb77dswsve4wx...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi Every one > I need to update XWiki Editor , but I cannot find a starting point for > that, how shall I do it, just to enable the tabulation coz when I press tab > key the focus is changed to the save buttons > > Thanks > > > ------------------------------ > > Message: 3 > Date: Tue, 28 Aug 2012 08:55:11 +0300 > From: Marius Dumitru Florea <[email protected]> > To: XWiki Users <[email protected]> > Subject: Re: [xwiki-users] Start point to update the XWiki Editor in > XWiki > Message-ID: > <CALZcbBaK3ZG6MFQpX+S9bUEogHUp8RCt=vgwhdfxpqpyak2...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > I suppose you are referring to the WYSIWYG editor and by "update" you > mean taking the editor from a newer version of XWiki Enterprise and > using it on an older version. Is that so? Then it might not work > because the newer version of the editor requires sometimes newer APIs > that are provided only by the newer version of XWiki Enterprise. > Anyway, are you sure the tab issue is fixed in the newer version? I > see http://jira.xwiki.org/browse/XWIKI-6123 is still open, for Chrome, > and I didn't commit any fix for it. So unless the browser behaviour > has changed, in which case you don't need to upgrade the editor, the > problem should still be present in the last version of XWiki > Enterprise. > > But for the record, upgrading the WYSIWYG editor code has two steps: > * upgrade the WYSIWYG editor jars in WEB-INF/lib (xwiki-platform-wysiwyg-*) > * replace the resources/js/xwiki/wysiwyg/xwe folder (delete and copy > the new one) > > Hope this helps, > Marius > > On Tue, Aug 28, 2012 at 1:48 AM, Boudjelda Mohamed Said > <[email protected]> wrote: >> Hi Every one >> I need to update XWiki Editor , but I cannot find a starting point for >> that, how shall I do it, just to enable the tabulation coz when I press tab >> key the focus is changed to the save buttons >> >> Thanks >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/users > > > ------------------------------ > > Message: 4 > Date: Tue, 28 Aug 2012 09:10:41 +0200 > From: Joseph-Andre Guaragna <[email protected]> > To: [email protected] > Subject: [xwiki-users] selected the informations tab as default on > every pages > Message-ID: > <CAMGKkWU4E9Fc84V887PPvLnQHVmzyERx_o=z5welnqh63xg...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Hello all, > > I just start using xwiki and as every beginers I am stuck on seting up > a tiny detail. > > My problem is the following: I would like the tab informations on > every page to be the default selected tab. > I try to look at the forum, and other related pages concerning xwiki > configuration and all I founded is how to disable tabs but not modify > the basic selected tab. > > I sure it is simple, but I don not know where to add the modification. > Thanks for the help. > > > Best regards > > Joseph-Andr? GUARAGNA > > > ------------------------------ > > Message: 5 > Date: Tue, 28 Aug 2012 09:37:50 +0200 > From: Vincent Massol <[email protected]> > To: XWiki Users <[email protected]> > Subject: Re: [xwiki-users] selected the informations tab as default on > every pages > Message-ID: <[email protected]> > Content-Type: text/plain; charset=iso-8859-1 > > Hi Joseph-Andr?, > > On Aug 28, 2012, at 9:10 AM, Joseph-Andre Guaragna <[email protected]> > wrote: > >> Hello all, >> >> I just start using xwiki and as every beginers I am stuck on seting up >> a tiny detail. >> >> My problem is the following: I would like the tab informations on >> every page to be the default selected tab. >> I try to look at the forum, and other related pages concerning xwiki >> configuration and all I founded is how to disable tabs but not modify >> the basic selected tab. >> >> I sure it is simple, but I don not know where to add the modification. >> Thanks for the help. > > It's not that simple because we don't have a configuration option to set > which tab is the selected one by default. > > Thus ATM I think you'll need to edit docextra.vm and make some changes there, > but I'm not sure what to change exactly. Maybe others can help. > > Thanks > -Vincent > > ------------------------------ > > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > > > End of users Digest, Vol 61, Issue 37 > *************************************
thanks for the help I ll have look _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
