Class BeCPGUserAccountService

java.lang.Object
fr.becpg.repo.authentication.BeCPGUserAccountService

@Service public class BeCPGUserAccountService extends Object

BeCPGUserAccountService class.

Version:
$Id: $Id
Author:
matthieu
  • Field Details

    • logger

      private static org.apache.commons.logging.Log logger
    • PATH_SEPARATOR

      private static final String PATH_SEPARATOR
      Constant PATH_SEPARATOR="\\/"
      See Also:
    • tenantAdminService

      @Autowired private org.alfresco.repo.tenant.TenantAdminService tenantAdminService
    • personService

      @Autowired private org.alfresco.service.cmr.security.PersonService personService
    • beCPGMailService

      @Autowired private BeCPGMailService beCPGMailService
    • authorityService

      @Autowired private org.alfresco.service.cmr.security.AuthorityService authorityService
    • authenticationService

      @Autowired private org.alfresco.service.cmr.security.MutableAuthenticationService authenticationService
    • identityServiceAccountProvider

      @Autowired private IdentityServiceAccountProvider identityServiceAccountProvider
    • repositoryAuthenticationDao

      @Autowired private org.alfresco.repo.security.authentication.MutableAuthenticationDao repositoryAuthenticationDao
    • nodeService

      @Autowired private org.alfresco.service.cmr.repository.NodeService nodeService
    • policyBehaviourFilter

      @Autowired private org.alfresco.repo.policy.BehaviourFilter policyBehaviourFilter
    • preferenceService

      @Autowired private org.alfresco.service.cmr.preference.PreferenceService preferenceService
  • Constructor Details

    • BeCPGUserAccountService

      public BeCPGUserAccountService()
  • Method Details

    • getOrCreateUser

      public org.alfresco.service.cmr.repository.NodeRef getOrCreateUser(BeCPGUserAccount userAccount, boolean createOnly)

      getOrCreateUser.

      Parameters:
      userAccount - a BeCPGUserAccount object
      createOnly - a boolean
      Returns:
      a NodeRef object
    • synchronizeWithIDS

      public void synchronizeWithIDS(String username)

      synchronizeSsoUser.

      Parameters:
      username - a String object
    • generatePassword

      public void generatePassword(String username, boolean notify)

      generatePassword.

      Parameters:
      username - a String object
      notify - a boolean
    • deleteUser

      public void deleteUser(String username)

      deleteUser.

      Parameters:
      username - a String object
    • updatePassword

      private void updatePassword(String username, String newPassword, boolean notify)
    • createUser

      private org.alfresco.service.cmr.repository.NodeRef createUser(BeCPGUserAccount userAccount, Map<org.alfresco.service.namespace.QName,Serializable> propMap)
    • updateGroups

      private void updateGroups(BeCPGUserAccount userAccount)
    • updateUser

      private org.alfresco.service.cmr.repository.NodeRef updateUser(BeCPGUserAccount userAccount, Map<org.alfresco.service.namespace.QName,Serializable> propMap)
    • setIdsUser

      private void setIdsUser(BeCPGUserAccount userAccount, String userName, org.alfresco.service.cmr.repository.NodeRef personNodeRef, boolean shouldSynchronize)
    • renameUser

      private void renameUser(BeCPGUserAccount userAccount, org.alfresco.service.cmr.repository.NodeRef personNodeRef)
    • isIdsUser

      private boolean isIdsUser(org.alfresco.service.cmr.repository.NodeRef personNodeRef)
    • createAuthentication

      private void createAuthentication(BeCPGUserAccount userAccount, org.alfresco.service.cmr.repository.NodeRef personNodeRef)
    • addAuthorityToIdsZone

      private void addAuthorityToIdsZone(String authority)
    • createTenantAware

      private String createTenantAware(String userName)