Class OrganizationIdentityProvider
java.lang.Object
org.exoplatform.social.core.identity.IdentityProvider<org.exoplatform.services.organization.User>
org.exoplatform.social.core.identity.provider.OrganizationIdentityProvider
public class OrganizationIdentityProvider
extends org.exoplatform.social.core.identity.IdentityProvider<org.exoplatform.services.organization.User>
The Class OrganizationIdentityProvider.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOrganizationIdentityProvider(org.exoplatform.services.organization.OrganizationService organizationService) Instantiates a new organization identity provider. -
Method Summary
Modifier and TypeMethodDescriptionorg.exoplatform.social.core.identity.model.IdentitycreateIdentity(org.exoplatform.services.organization.User user) org.exoplatform.services.organization.UserfindByRemoteId(String remoteId) Deprecated, for removal: This API element is subject to removal in a future version.Will be removedgetName()voidonUpdateProfile(org.exoplatform.social.core.identity.model.Profile profile) Synchronizes profile's changes to user's information.voidpopulateProfile(org.exoplatform.social.core.identity.model.Profile profile, org.exoplatform.services.organization.User user) Methods inherited from class org.exoplatform.social.core.identity.IdentityProvider
getIdentityByRemoteId, onSaveIdentity, onSaveProfile
-
Field Details
-
NAME
The Constant NAME.- See Also:
-
-
Constructor Details
-
OrganizationIdentityProvider
public OrganizationIdentityProvider(org.exoplatform.services.organization.OrganizationService organizationService) Instantiates a new organization identity provider.- Parameters:
organizationService- the organization service
-
-
Method Details
-
getName
- Specified by:
getNamein classorg.exoplatform.social.core.identity.IdentityProvider<org.exoplatform.services.organization.User>
-
getAllUserId
Deprecated, for removal: This API element is subject to removal in a future version.Will be removedReturn only 500 maximum users for this duplicated method.- Overrides:
getAllUserIdin classorg.exoplatform.social.core.identity.IdentityProvider<org.exoplatform.services.organization.User>- Returns:
- list of string containing user names.
-
findByRemoteId
- Specified by:
findByRemoteIdin classorg.exoplatform.social.core.identity.IdentityProvider<org.exoplatform.services.organization.User>
-
createIdentity
public org.exoplatform.social.core.identity.model.Identity createIdentity(org.exoplatform.services.organization.User user) - Specified by:
createIdentityin classorg.exoplatform.social.core.identity.IdentityProvider<org.exoplatform.services.organization.User>
-
populateProfile
public void populateProfile(org.exoplatform.social.core.identity.model.Profile profile, org.exoplatform.services.organization.User user) - Specified by:
populateProfilein classorg.exoplatform.social.core.identity.IdentityProvider<org.exoplatform.services.organization.User>
-
onUpdateProfile
public void onUpdateProfile(org.exoplatform.social.core.identity.model.Profile profile) Synchronizes profile's changes to user's information.- Overrides:
onUpdateProfilein classorg.exoplatform.social.core.identity.IdentityProvider<org.exoplatform.services.organization.User>- Parameters:
profile-
-