Bug #445
closedgetprincipals action not working
0%
Description
The getprincipals action, which is supposed to "Get all users and groups in the
current authentication schema" is apparently not working. All I get is an error
message containing null. (Dan Higgins)
(This did work at one point, but has not been tried for some time.)
Updated by Jing Tao over 22 years ago
This bug was fixed and now we can get "all users and groups in the
current authentication schema" when a getprincipals action happend.
Some code in class AuthLadp was revised. In method getGourps, some class
variable was set. Otherwise, when it caught a referral exception and started
running a thread, this will cause a exception.
In method getPrincepals, after getting a string array - groups which returned
by calling method getGroups, the gouprs should be checked if it is null.
Otherwise it will cause a exception too.