Hi, I'm not sure I understand how you get the username and password from your users.. Ludovic [email protected] a écrit :
hi,
thank you for the answer, but how *could* those two lines look like if we get the username from the request and combine it with a given password? the authenticate method which takes username, password and context as parameter doesn't seem to do what i expect.
florian
Hi,
You'll find some info here http://www.xwiki.org/xwiki/bin/view/AdminGuide/Authentication+and+Rights+Man...
The authentication service probably needs to be written to handle the specificities of your system. If you already have information in your request or somewhere you might just need to write one or two lines in your authentication service.
Ludovic
[email protected] a écrit :
Hello,
We're currently working on integrating xwiki in an educational
plattform. That means, we need to provide an xwiki-page for each course. We have retty much all methods laid out and most of it working, the only thing we are still not sure about handling is the automatic login, before a user gets to see a specific xwiki-page. Adding users, groups and setting the permissions (in the xwiki) is all dealt with already - the only thing that is missing is the automatic login.
Is this possible with the existing methods or do we have to write our
own authentication-service? If so, is there sample code or anything you could point us to how to proceed?
An option we were contemplating was, posting the login data to the
actual xwiki login form in the background (similar to what the curl-library provides in php), but this might just be unnecessary, if there is a certain existing method we can utilize for that.
Thanks a lot for your help in advance! Florian
------------------------------------------------------------------------
-- You receive this message as a subscriber of the
[email protected] mailing list.
To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic
------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic