mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-08 10:34:25 +00:00
Stuart Lewis - [ 1947036 ] Patch for SF Bug1896960 SWORD authentication and LDAP + [ 1989874 ] LDAPAuthentication pluggable method broken for current users
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2959 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -172,6 +172,7 @@ public class LDAPAuthentication
|
||||
{
|
||||
if (ldap.ldapAuthenticate(netid, password, context))
|
||||
{
|
||||
context.setCurrentUser(eperson = EPerson.findByNetid(context, netid.toLowerCase()));
|
||||
log.info(LogManager
|
||||
.getHeader(context, "authenticate", "type=ldap"));
|
||||
return SUCCESS;
|
||||
|
Reference in New Issue
Block a user