Re: [xwiki-users] Custom Authentication - Error: You are not allowed to view this document or perform this action
http://bodez.wordpress.com/2008/10/15/xwiki-user-authentication-with-oracle-sso/ seems a bid minimalistic You can find working authenticator example on http://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/authenticators/ and especially some code you can reuse like http://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/authenticators/xwiki-authentication-puma/src/main/java/com/xwiki/authentication/AbstractAuthServiceImpl.java On Wed, Nov 24, 2010 at 22:42, Scardino, Leonard R Jr ERDC-ITL-MS Contractor leonard.r.scard...@usace.army.mil wrote: I've been searching the archive, but coming up short here. I'm trying to get custom authentication going on XWiki Enterprise 2.6. I've successfully implemented the XWikiAuthService by extending XwikiAuthServiceImpl as suggested here : http://bodez.wordpress.com/2008/10/15/xwiki-user-authentication-with-oracle-s so/ I have also added the xwiki.authentication.authclass line to my xwiki.cfg. I'm able to automatically create a new user in xwiki using the XWiki.createEmptyUser method, and I get logged in. However, when I get in as that user all I get is Error You are not allowed to view this document or perform this action. No matter what I try to look at, including the personal profile. Can anyone tell me what I'm missing here? The XWiki documentation says that you can implement your own right management service, but it doesn't say that is necessary. Is it? Thanks, Lenny ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki Class and Javascript
On 11/25/2010 10:55 AM, Pidoux75 wrote: Thanks a lot :) In the same way, is there a means of get a javascript value and put in velocity value ? like !--script type=text/javascript//-- function changeList() { choix = document.getElementById(zonesList).value; #set ($newname = newZone) $obj.set('intergeozone', choix); populateCountries(choix); } /script Cause, if I write this, I got an error Failed to execute macro: velocity. Is there a way to do it or not? Velocity is executed on the server, JavaScript is executed on the client. You can't use JS variables inside Velocity, only the other way around. To send JS variables to Velocity, you have to send a request to the server. Take a look at http://www.prototypejs.org/api/ajax/updater -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki Class and Javascript
Hmmm ok I'll go to look for Ajax.request but is it possible to use this inside a class? To explains exactly that I need, when I'm on my previous class, now I can use my 2 lists with javascript to intercept change from first list, but I need now to save if I made changes (with clicking save and view at bottom of the page) else I keep the old values from the page. So, if I use this ajax method, I can do this? -- View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-Class-and-Javascript-tp5770427p5774150.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] [myxwiki] new wiki request
would like to check out the xwiki platform icliptv thx ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users