mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-09 19:13:18 +00:00
(Stuart Lewis) - Changed scope of ldapGroup variable as it didn't need to be a class variable.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@3147 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -134,7 +134,7 @@ public class LDAPAuthentication
|
||||
String groupName = ConfigurationManager.getProperty("ldap.login.specialgroup");
|
||||
if ((groupName != null) && (!groupName.trim().equals("")))
|
||||
{
|
||||
ldapGroup = Group.findByName(context, groupName);
|
||||
Group ldapGroup = Group.findByName(context, groupName);
|
||||
if (ldapGroup == null)
|
||||
{
|
||||
// Oops - the group isn't there.
|
||||
|
Reference in New Issue
Block a user