|
|
@ -455,6 +455,9 @@ public class UserManagementServiceImpl implements UserManagementService {
|
|
|
|
userList = new ArrayList<>(users.size());
|
|
|
|
userList = new ArrayList<>(users.size());
|
|
|
|
BasicUserInfo user;
|
|
|
|
BasicUserInfo user;
|
|
|
|
for (String username : users) {
|
|
|
|
for (String username : users) {
|
|
|
|
|
|
|
|
if (Constants.APIM_RESERVED_USER.equals(username)) {
|
|
|
|
|
|
|
|
continue;
|
|
|
|
|
|
|
|
}
|
|
|
|
user = getBasicUserInfo(username);
|
|
|
|
user = getBasicUserInfo(username);
|
|
|
|
userList.add(user);
|
|
|
|
userList.add(user);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -515,6 +518,9 @@ public class UserManagementServiceImpl implements UserManagementService {
|
|
|
|
if (StringUtils.isNotEmpty(username)) {
|
|
|
|
if (StringUtils.isNotEmpty(username)) {
|
|
|
|
commonUsers = getUserList(null, username);
|
|
|
|
commonUsers = getUserList(null, username);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (commonUsers != null) {
|
|
|
|
|
|
|
|
commonUsers.remove(Constants.APIM_RESERVED_USER);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (!skipSearch(commonUsers) && StringUtils.isNotEmpty(firstName)) {
|
|
|
|
if (!skipSearch(commonUsers) && StringUtils.isNotEmpty(firstName)) {
|
|
|
|
tempList = getUserList(Constants.USER_CLAIM_FIRST_NAME, firstName);
|
|
|
|
tempList = getUserList(Constants.USER_CLAIM_FIRST_NAME, firstName);
|
|
|
@ -689,6 +695,9 @@ public class UserManagementServiceImpl implements UserManagementService {
|
|
|
|
userList = new ArrayList<>();
|
|
|
|
userList = new ArrayList<>();
|
|
|
|
UserInfo user;
|
|
|
|
UserInfo user;
|
|
|
|
for (String username : users) {
|
|
|
|
for (String username : users) {
|
|
|
|
|
|
|
|
if (Constants.APIM_RESERVED_USER.equals(username)) {
|
|
|
|
|
|
|
|
continue;
|
|
|
|
|
|
|
|
}
|
|
|
|
user = new UserInfo();
|
|
|
|
user = new UserInfo();
|
|
|
|
user.setUsername(username);
|
|
|
|
user.setUsername(username);
|
|
|
|
user.setEmailAddress(getClaimValue(username, Constants.USER_CLAIM_EMAIL_ADDRESS));
|
|
|
|
user.setEmailAddress(getClaimValue(username, Constants.USER_CLAIM_EMAIL_ADDRESS));
|
|
|
|