EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #00363


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: LDAP / CAS / EPrints::DataObj::User ?


Il 05/04/2012 15:16, Bernd Diekmann ha scritto:
Hi,

we are building up EPrints 3.3.8, which should work with our CAS
(Single Sign On). The howto's for CAS and LDAP for the definition
of a function 'current_user' are very helpful, but the method of
DataObj::User i.e.
     $new_user = EPrints::DataObj::User::create($self, 'user');
seems not to work as expected, this statement produces many userids
(type "user") without any attribute (without any ...->commit() !)
or dies without any error in the errorlog.

Has anyone experiences adapting CAS or LDAP under Eprints 3.3.n or a
function 'current_user' ?

I think a good approach could be to use this:

http://files.eprints.org/738/

so you avoid to do modification to Eprints and use the apache auth module to handle auth&attributes. Also means that switching/upgrading can be easier.