Hi Hélder,

See:

 - http://blog.stuartlewis.com/2008/05/27/shibboleth-sword-and-dspace-15/

What you can do is to have two copies of dspae.cfg, and edit 
[tomcat]/webapps/sword/WEB-INF/web.xml (dspace-config context-param) to point 
to a different dspace.cfg.

In that other dspace.cfg (maybe [dspace]/config/dspace-sword.cfg) you can 
define a different set of authentication options. The easiest option is to use 
either LDAP or the the PasswordAuthentcation method. 

How you do it really depends on your SWORD use case and client. If your SWORD 
client has a hard-coded username and password, then either of these will do. 
What we do with our SWORD clients is to perform the authentication in the 
client, and if that is OK, use a hardcoded username and password to make the 
actual SWORD deposit into DSpace.

Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: +64 (0)9 373 7599 x81928


On 7/09/2010, at 9:03 PM, Hélder Silva wrote:

> Hi everyone,
> 
> I'm having some problems with Shibboleth authentication while using  Sword.
> I use Sword to submit documents to DSpace, and therefore I need to be 
> authenticated in DSpace. But as you know (or may know), the Shibboleth 
> authentication process is a little diferent from the others, because the 
> authentication is done outside the repository (in the Identity Provider) 
> with username and password, but in this case one can't give that 
> information to the authentication system as you would do with, for 
> example, LDAP.
> 
> Therefore, I think the problem should be solved in the sword code.
> 
> Anyone experiencing the same problem? Any solutions out there?
> 
> -- 
> Cumprimentos,
> Hélder Silva
> 
> KEEP SOLUTIONS, LDA.
> Departamento de Informática
> Universidade do Minho
> 4710-057 Gualtar, Braga, Portugal
> W www.keep.pt E [email protected]
> T +351 253604461 F +351 253604471
> 
> 
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
> 
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech



------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to