Re: [Dspace-tech] Authenticating users without creating EPerson in DB

2013-05-21 Thread helix84
On Tue, May 21, 2013 at 7:33 PM, Patrick West wrote: > Will this be part of 1.8? Or 3.1? Or both? (Please say 1.8, please say 1.8, > or both) Both 1.8.2 and 3.1 are already released and it's not part of DSpace yet. However, authentication plugins are probably the easiest custom code to add becau

Re: [Dspace-tech] Authenticating users without creating EPerson in DB

2013-05-21 Thread Patrick West
Will this be part of 1.8? Or 3.1? Or both? (Please say 1.8, please say 1.8, or both) Anyway … I am very interested in CAS integration as well. Thanks, Patrick West Senior Software Engineer Tetherless World Constellation Rensselaer Polytechnic Institute On May 20, 2013, at 9:52 AM, Alumno Etsii

Re: [Dspace-tech] Authenticating users without creating EPerson in DB

2013-05-20 Thread helix84
If you submit a patch, please attach it to Jira < https://jira.duraspace.org/browse/DS-1028>. Even better would be a GitHub pull request and a link to that pull request in Jira comments. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPA

Re: [Dspace-tech] Authenticating users without creating EPerson in DB

2013-05-20 Thread Alumno Etsii
Again, thanks so much for your kind help! Then I can say the CAS authentication is working ok, in a few days - when I get a few days with less work, I'll apply those changes to a git clone of DSpace and provide the patch for the latest version of DSpace so CAS auth. can be *AT LAST* officially inte

Re: [Dspace-tech] Authenticating users without creating EPerson in DB

2013-05-20 Thread Mark H. Wood
On Mon, May 20, 2013 at 02:02:14PM +, Alumno Etsii wrote: > Ok, I'm replying myself with some little advances. > > This snippet is used in the authenticate funcion of CAS, when eperson == > null and the cas.autoregister option is false: > > +else > +{ >

Re: [Dspace-tech] Authenticating users without creating EPerson in DB

2013-05-20 Thread helix84
Hi Miguel, I don't have many answers for you, just some more information. Mark Wood has in fact recently proposed that we don't need to store user's data in our DB, but we currently do that: https://jira.duraspace.org/browse/DS-1547 > What steps would be necessary to create a one-time session f

Re: [Dspace-tech] Authenticating users without creating EPerson in DB

2013-05-20 Thread Alumno Etsii
Ok, I'm replying myself with some little advances. This snippet is used in the authenticate funcion of CAS, when eperson == null and the cas.autoregister option is false: +else +{ +// No auto-registration for valid netid +

[Dspace-tech] Authenticating users without creating EPerson in DB

2013-05-18 Thread Alumno Etsii
Hi all! I'm trying to addapt a CAS solution I found on JIRA ( https://jira.duraspace.org/browse/DS-1028) and I'm having problems authenticating without auto-registering. There's a boolean parameter in the .cfg determining whether auto-register the user or not after logging in; if it's set to true