How moodle authenticate with Noosfero

Bráulio Bhavamitra braulio at eita.org.br
Fri Feb 7 09:59:18 BRST 2014


Thanks very much Ewout, now I get the thing!
Em 22/01/2014 19:29, "Ewout ter Haar" <ewout at usp.br> escreveu:

> The Stoa plugin implements a webservice that, given a username and
> password, returns some information about the noosfero account (if the
> username/passwd combination is correct).
>
> On the moodle side, I implemented an authentication plugin. This plugin
> sends the username / passwd to the noosfero webservice and, if
> authenticated, logs the user into Moodle. You can see the code here:
>   http://git.atp.usp.br/moodle.git/tree/refs/heads/stoa24:/auth/noostoa
> (I am not a professional developer, please get someone to look at the code
> before you deploy it on your site).
>
> So, it is not the case that Noosfero users can authenticate with Moodle:
> only the opposite direction is possible: we authenticate against the
> Noosfero user base. Of course, this is not SSO, only single password.
>
> It should be easy to write authentication plugins for other software. Or
> to make some Noosferos authenticate against another Noosfero. But I don't
> think that would be a good federated login solution.
>
> Ewout
>
>
> http://social.stoa.usp.br/ewout <http://stoa.usp.br/ewout>
> F. 30916696
>
>
> 2014/1/22 Bráulio Bhavamitra <braulio at eita.org.br>
>
>> Hello all,
>>
>> Looking at the code on the stoa plugin I see how Noosfero can
>> authenticate on moodle but I can't see the opposite, that is, how moodle
>> authenticate noosfero's users, although I see an action 'authenticate' on
>> the StoaPluginController that could be used on moodle. So, any change on
>> moodle was necessary?
>>
>> best regards,
>> bráulio
>>
>> --
>> "Lute pela sua ideologia. Seja um com sua ideologia. Viva pela sua
>> ideologia. Morra por sua ideologia" P.R. Sarkar
>>
>> EITA - Educação, Informação e Tecnologias para Autogestão
>> http://cirandas.net/brauliobo
>> http://eita.org.br
>>
>> "Paramapurusha é meu pai e Parama Prakriti é minha mãe. O universo é meu
>> lar e todos nós somos cidadãos deste cosmo. Este universo é a imaginação da
>> Mente Macrocósmica, e todas as entidades estão sendo criadas, preservadas e
>> destruídas nas fases de extroversão e introversão do fluxo imaginativo
>> cósmico. No âmbito pessoal, quando uma pessoa imagina algo em sua mente,
>> naquele momento, essa pessoa é a única proprietária daquilo que ela
>> imagina, e ninguém mais. Quando um ser humano criado mentalmente caminha
>> por um milharal também imaginado, a pessoa imaginada não é a propriedade
>> desse milharal, pois ele pertence ao indivíduo que o está imaginando. Este
>> universo foi criado na imaginação de Brahma, a Entidade Suprema, por isso
>> a propriedade deste universo é de Brahma, e não dos microcosmos que também
>> foram criados pela imaginação de Brahma. Nenhuma propriedade deste mundo,
>> mutável ou imutável, pertence a um indivíduo em particular; tudo é o
>> patrimônio comum de todos."
>> Restante do texto em
>> http://cirandas.net/brauliobo/blog/a-problematica-de-hoje-em-dia
>>
>> _______________________________________________
>> Noosfero-dev mailing list
>> Noosfero-dev at listas.softwarelivre.org
>> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/noosfero-dev
>>
>>
>
> _______________________________________________
> Noosfero-dev mailing list
> Noosfero-dev at listas.softwarelivre.org
> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/noosfero-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20140207/99073490/attachment.html>


More information about the Noosfero-dev mailing list