hi,
The username is being provided by the education - portal we are integrating xwiki into
(request.getParam(..). The password is a fixed string. The users are set up with these
credentials automatically, when they are being added to an xwiki group. Thats all working
- we just haven't been able to figure out ow to log users in then, with these same
username/password combinations.
florian
Hi,
I'm not sure I understand how you get the username and password from
your users..
Ludovic
divil(a)gmx.at 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+Ma…
>
> 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
>
> divil(a)gmx.at 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
>>
> xwiki-users(a)objectweb.org mailing list.
>
>> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
>> For general help: mailto:sympa@objectweb.org?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
xwiki-users(a)objectweb.org mailing
list.
To unsubscribe:
mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?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
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: