On Tue, Aug 28, 2012 at 11:57 AM, Benjamin Ryan <[email protected]> wrote: > The IDP that I have been testing Shibboleth authentication do > not supply first/last name as attributes and so auto-registration fails as > three parameters are required in the registerNewEPerson method. > > Is there a way to work round this as I will not be able to > get these values only persistent id and affiliations from most IDPs.
Hi Benjamin, well, a workaround would be to just make your own auth plugin as a copy of ShibAuthentication.java (don't just change it without renaming it because it would be just overwritten during your next upgrade) - change the file name, class name and the getLogger() argument. Then just assign String fname = NULL; and String lname = NULL; (or you can use some fixed strings like 'University' and 'student'), specify your plugin's name in [dspace-src]/dspace/config/modules/authentication.cfg, rebuild and redeploy DSpace. Regards, ~~helix84 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ DSpace-tech mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-tech

