Hi Leonard, On Tue, Nov 30, 2010 at 21:34, Scardino, Leonard R Jr ERDC-ITL-MS Contractor <[email protected]> wrote:
Just wanted to say that this was EXTREMELY helpful. Got my authenticator working today. Sweet. Thanks for the help.
I'm glad to hear that :-) It would be even sweeter if you were to share your code with the community... Is that something you'd be willing to do? Guillaume Lenny
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Thomas Mortagne Sent: Thursday, November 25, 2010 2:22 AM To: XWiki Users Subject: 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-... so/ 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-auth...
ntication-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 <[email protected]> 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-o racle-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 [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users