Discussion:
[EP-tech] Deposit to eprints via SWORD authenticated via LDAP.
Abdul Bashet
2013-03-05 13:38:11 UTC
Permalink
Hi,

I am trying to develop a plugin for moodle to integrate with eprints. My goal is to deposit resources from moodle to eprints. In this case I am using SWORD to deposit. But my problem is, My moodle users are authenticated by LDAP. So when I am depositing by using SWORD, that time I need to have username and password to connect swordappclient.

So how can I get those information to connect swordappclient? Or is there any other way to bypass the user and connect to swordappclient?

Regards,

Abdul Bashet
E-Learning Developer

t: 020 7863 1330 (ext: 8089)
e: ***@ulcc.ac.uk
w: www.ulcc.ac.uk<http://www.ulcc.ac.uk/>

The University of London is an exempt charity in England and Wales and a charity registered in Scotland (reg. no. SC041194)
Ian Stuart
2013-03-05 13:53:45 UTC
Permalink
Post by Abdul Bashet
Hi,
I am trying to develop a plugin for moodle to integrate with eprints. My
goal is to deposit resources from moodle to eprints. In this case I am
using SWORD to deposit. But my problem is, My moodle users are
authenticated by LDAP. So when I am depositing by using SWORD, that time
I need to have username and password to connect *swordappclient.*
So how can I get those information to connect swordappclient? Or is
there any other way to bypass the user and connect to swordappclient?
Yes, you can.

Although this talks about SWORD 1.3 verses SWORD 2.0, is also shows how
one can make a simple POST request to do the deposit.

http://oarepojunction.wordpress.com/2013/01/16/sword-1-3-vs-sword-2/

I use a similar process from within a Perl script using LWP::UserAgent
(you can also use WWW::Mechanise, and other tools)
--
Ian Stuart.
Developer: ORI, RJ-Broker, and OpenDepot.org
Bibliographics and Multimedia Service Delivery team,
EDINA,
The University of Edinburgh.

http://edina.ac.uk/

This email was sent via the University of Edinburgh.

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
Loading...