Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ private static AuthenticatedUser buildAuthenticatedUser(UserStoreManager userSto
.isPrimaryOrganization(managedOrg)) {
userId = OAuthComponentServiceHolder.getInstance().getOrganizationUserSharingService()
.getUserAssociation(userId, accessingOrg).getAssociatedUserId();
authenticatedUser.setUserName(userId);
authenticatedUser.setUserId(userId);
setOrganizationSSOUserDetails(authenticatedUser);
} else {
UserAssociation userAssociation = OAuthComponentServiceHolder.getInstance()
Expand Down Expand Up @@ -908,7 +908,7 @@ private static RoleBasicInfo getRoleBasicInfo(String roleId, String tenantDomain

/**
* Initiate token revocation process for the associated clientIds for the given user.
* @param clientIds Set of clientIds
* @param clientAppInfos Set of clientIds
* @param authenticatedUser Authenticated User object of the user.
* @param userStoreDomain User store domain of the user.
* @param username Username.
Expand Down Expand Up @@ -1071,7 +1071,7 @@ public static boolean revokeTokens(String username, UserStoreManager userStoreMa
authenticatedOrgUser.setUserName(authenticatedUserName);
authenticatedOrgUser.setUserResidentOrganization(authenticatedUser.
getUserResidentOrganization());
authenticatedOrgUser.setAccessingOrganization(authenticatedUser.getUserResidentOrganization());
authenticatedOrgUser.setAccessingOrganization(authenticatedUser.getAccessingOrganization());
authenticatedOrgUser.setFederatedUser(false);
authenticatedOrgUser.setUserStoreDomain(user.get().getUserStoreDomain());
String userTenantDomain = OAuthComponentServiceHolder.getInstance().
Expand Down