Revision 8431
Added by Jing Tao over 10 years ago
AuthLdap.java | ||
---|---|---|
1243 | 1243 |
/** |
1244 | 1244 |
* Method for getting index of user DN in User info array |
1245 | 1245 |
*/ |
1246 |
int searchUser(String user, String userGroup[][]) { |
|
1246 |
public static int searchUser(String user, String userGroup[][]) {
|
|
1247 | 1247 |
for (int j = 0; j < userGroup.length; j++) { |
1248 | 1248 |
if (user.compareTo(userGroup[j][0]) == 0) { |
1249 | 1249 |
return j; |
Also available in: Unified diff
Add the method to get the principals.