diff options
Diffstat (limited to 'source/com/c2kernel/lookup/LDAPRoleManager.java')
| -rw-r--r--[-rwxr-xr-x] | source/com/c2kernel/lookup/LDAPRoleManager.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/com/c2kernel/lookup/LDAPRoleManager.java b/source/com/c2kernel/lookup/LDAPRoleManager.java index a9b6b23..a45da13 100755..100644 --- a/source/com/c2kernel/lookup/LDAPRoleManager.java +++ b/source/com/c2kernel/lookup/LDAPRoleManager.java @@ -113,7 +113,7 @@ public class LDAPRoleManager { }
String[] res = LDAPLookupUtils.getAllAttributeValues(roleEntry,"uniqueMember");
- ArrayList agents = new ArrayList();
+ ArrayList<AgentPath> agents = new ArrayList<AgentPath>();
for (int i=0; i<res.length; i++)
{
String userDN = res[i];
@@ -142,7 +142,7 @@ public class LDAPRoleManager { searchCons.setBatchSize(0);
searchCons.setDereference(LDAPSearchConstraints.DEREF_NEVER );
Enumeration roles = mLdap.search(mRolePath,LDAPConnection.SCOPE_SUB,filter,searchCons);
- ArrayList roleList = new ArrayList();
+ ArrayList<RolePath> roleList = new ArrayList<RolePath>();
while(roles.hasMoreElements())
{
|
