[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] SWORD deposit with Shibboleth Authentication



Hi Fran,

Based on my experience, if you have Shibboleth login it is possible to
set a different local password for that account and login at
/cgi/users/login which (with Shibboleth) will only  I am fairly certain
that if it works there it will work with the SWORD API.

For info, this would not work with LDAP-based login.  Although I would
think it possible to modify user_login.pl to make this possible.

Regards

David Newman

On Mon, 2018-12-17 at 09:59 +0000, Alan.Stiles via Eprints-tech wrote:
> It might be simpler to have the SWORD depositor as a separate account
> but have (top of my head) something in eprint fields automatic that
> changes the assigned user to the real-human if it's the sword one?
>
>
> -----Original Message-----
> From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounc
> es at ecs.soton.ac.uk] On Behalf Of Yuri via Eprints-tech
> Sent: 17 December 2018 08:45
> To: eprints-tech at ecs.soton.ac.uk
> Subject: Re: [EP-tech] SWORD deposit with Shibboleth Authentication
>
> Would be cool in Eprints to have 2 users with the same id, so after
> auth you're the same user but you can use 2 differents user/password
> o method (one on the web using Shibboleth, one for backend/SWORD
> auth).
>
> Il 14/12/18 15:58, Newman D.R. via Eprints-tech ha scritto:
> >
> > Hi Fran,
> >
> > I am not aware of this being possible without a really hacky
> > solution
> > that would almost certainly compromise security.  Even if you use
> > Shibboleth authentication, you can still have locally (On EPrints)
> > authenticated accounts, which can then be used to submit items to
> > EPrints using SWORD or other HTTP authed APIs.
> >
> > Regards
> >
> > David Newman
> >
> >
> >
> > On Fri, 2018-12-14 at 14:45 +0000, Fran Callaghan via Eprints-tech
> > wrote:
> > >
> > > Hi All,
> > >
> > > Can anybody advise me if it possible to configure SWORD deposit
> > > on an
> > > eprints instance using Shibboleth authentication? Surely the
> > > depositing system can still sign on directly to perform SWORD
> > > deposits and avoid the Shibboleth auth methods?
> > >
> > > Thanks everybody,
> > > Fran Callaghan
> > >
> > >
> > > S?anadh R?omhphoist/Email Disclaimer
> > > T? an r?omhphost seo agus aon chomhad a sheoltar leis faoi r?n
> > > agus
> > > is lena ?s?id ag an seola? agus sin amh?in ?. Is f?idir tuilleadh
> > > a
> > > l?amh anseo.
> > > This e-mail and any files transmitted with it are confidential
> > > and
> > > are intended solely for use by the addressee. Read more here.
> > >
> > >
> > >
> > >
> > >
> > > *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/epri
> > > nts-
> > > tech
> > > *** Archive:
> > > https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2
> > > Fwww
> > > .eprints.org%2Ftech.php%2F&data=01%7C01%7Ceprints-
> > > tech%40ecs.soto
> > > n.ac.uk%7Ceb5ca92acadb47bc7bb108d663fbfe50%7C4a5378f929f44d3ebe89
> > > 669d
> > > 03ada9d8%7C1&sdata=zJnnxlQbCruh080FsHTo0M484Cba9KcYTeTUwZFxeB
> > > w%3D
> > > &reserved=0
> > > *** EPrints community wiki:
> > > https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2
> > > Fwik
> > > i.eprints.org%2F&data=01%7C01%7Ceprints-
> > > tech%40ecs.soton.ac.uk%7C
> > > eb5ca92acadb47bc7bb108d663fbfe50%7C4a5378f929f44d3ebe89669d03ada9
> > > d8%7
> > > C1&sdata=h%2BBnPl%2F%2F2m8sbO%2Bfo39%2Fmm%2BKwPuQ9Y1XIdaelgde
> > > Y8k%
> > > 3D&reserved=0
> > > *** EPrints developers Forum:
> > > https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2
> > > Ffor
> > > um.eprints.org%2F&data=01%7C01%7Ceprints-
> > > tech%40ecs.soton.ac.uk%7
> > > Ceb5ca92acadb47bc7bb108d663fbfe50%7C4a5378f929f44d3ebe89669d03ada
> > > 9d8%
> > > 7C1&sdata=ViVMl6%2FzW8Wphz3qQk4h8XUOjyk5kgBDNggsKnuIbOk%3D&am
> > > p;re
> > > served=0
> > *** Options:
> > http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> > *** Archive:
> > https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fw
> > ww.
> > eprints.org%2Ftech.php%2F&data=01%7C01%7Ceprints-
> > tech%40ecs.soton.
> > ac.uk%7Ceb5ca92acadb47bc7bb108d663fbfe50%7C4a5378f929f44d3ebe89669d
> > 03a
> > da9d8%7C1&sdata=zJnnxlQbCruh080FsHTo0M484Cba9KcYTeTUwZFxeBw%3D&
> > amp
> > ;reserved=0
> > *** EPrints community wiki:
> > https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fw
> > iki
> > .eprints.org%2F&data=01%7C01%7Ceprints-
> > tech%40ecs.soton.ac.uk%7Ceb
> > 5ca92acadb47bc7bb108d663fbfe50%7C4a5378f929f44d3ebe89669d03ada9d8%7
> > C1&
> > amp;sdata=h%2BBnPl%2F%2F2m8sbO%2Bfo39%2Fmm%2BKwPuQ9Y1XIdaelgdeY8k%3
> > D&a
> > mp;reserved=0
> > *** EPrints developers Forum:
> > https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Ff
> > oru
> > m.eprints.org%2F&data=01%7C01%7Ceprints-
> > tech%40ecs.soton.ac.uk%7Ce
> > b5ca92acadb47bc7bb108d663fbfe50%7C4a5378f929f44d3ebe89669d03ada9d8%
> > 7C1
> > &sdata=ViVMl6%2FzW8Wphz3qQk4h8XUOjyk5kgBDNggsKnuIbOk%3D&res
> > erv
> > ed=0
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-
> tech
> *** Archive: https://emea01.safelinks.protection.outlook.com/?url=htt
> p%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=01%7C01%7Cdrn%40ecs.
> soton.ac.uk%7Cd104fb4059cc4cbafd1608d66406a520%7C4a5378f929f44d3ebe89
> 669d03ada9d8%7C1&sdata=xeMunHN25fH3C0KmjUovayEkhwg%2FVbErt6IsZmpi
> qzU%3D&reserved=0
> *** EPrints community wiki: https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Femea01.safelinks.protection.outlo&data=01%7C01%7C%7C33611718138e4db5b43c08d6640e9d8b%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=JrGmSJC9drtCI9cup75g4C%2Bz1pvldo7ML1Li8m6t9MQ%3D&reserved=0
> ok.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7Cdrn%4
> 0ecs.soton.ac.uk%7Cd104fb4059cc4cbafd1608d66406a520%7C4a5378f929f44d3
> ebe89669d03ada9d8%7C1&sdata=TvZuHFnqnx%2Bpr%2FQT8E5Kham9zA1%2BBdL
> 6Hr9AkEoxiuU%3D&reserved=0
> *** EPrints developers Forum: https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Femea01.safelinks.protection.out&data=01%7C01%7C%7C33611718138e4db5b43c08d6640e9d8b%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=A2eZo4B1AEC%2FK4N0uQCIb7ERYjmxsYTZt8WNaN8pa0Q%3D&reserved=0
> look.com/?url=http%3A%2F%2Fforum.eprints.org%2F&data=01%7C01%7Cdr
> n%40ecs.soton.ac.uk%7Cd104fb4059cc4cbafd1608d66406a520%7C4a5378f929f4
> 4d3ebe89669d03ada9d8%7C1&sdata=VOtYXM%2Bm1fQCCcElAPZn4Xg%2Bgf%2BN
> 6grGHfxXYu0xtDQ%3D&reserved=0
> -- The Open University is incorporated by Royal Charter (RC 000391),
> an exempt charity in England & Wales and a charity registered in
> Scotland (SC 038302). The Open University is authorised and regulated
> by the Financial Conduct Authority in relation to its secondary
> activity of credit broking.
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-
> tech
> *** Archive: https://emea01.safelinks.protection.outlook.com/?url=htt
> p%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=01%7C01%7Cdrn%40ecs.
> soton.ac.uk%7Cd104fb4059cc4cbafd1608d66406a520%7C4a5378f929f44d3ebe89
> 669d03ada9d8%7C1&sdata=xeMunHN25fH3C0KmjUovayEkhwg%2FVbErt6IsZmpi
> qzU%3D&reserved=0
> *** EPrints community wiki: https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Femea01.safelinks.protection.outlo&data=01%7C01%7C%7C33611718138e4db5b43c08d6640e9d8b%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=JrGmSJC9drtCI9cup75g4C%2Bz1pvldo7ML1Li8m6t9MQ%3D&reserved=0
> ok.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7Cdrn%4
> 0ecs.soton.ac.uk%7Cd104fb4059cc4cbafd1608d66406a520%7C4a5378f929f44d3
> ebe89669d03ada9d8%7C1&sdata=TvZuHFnqnx%2Bpr%2FQT8E5Kham9zA1%2BBdL
> 6Hr9AkEoxiuU%3D&reserved=0
> *** EPrints developers Forum: https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Femea01.safelinks.protection.out&data=01%7C01%7C%7C33611718138e4db5b43c08d6640e9d8b%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&sdata=A2eZo4B1AEC%2FK4N0uQCIb7ERYjmxsYTZt8WNaN8pa0Q%3D&reserved=0
> look.com/?url=http%3A%2F%2Fforum.eprints.org%2F&data=01%7C01%7Cdr
> n%40ecs.soton.ac.uk%7Cd104fb4059cc4cbafd1608d66406a520%7C4a5378f929f4
> 4d3ebe89669d03ada9d8%7C1&sdata=VOtYXM%2Bm1fQCCcElAPZn4Xg%2Bgf%2BN
> 6grGHfxXYu0xtDQ%3D&reserved=0