com.atlassian.confluence.user.migration
Class AtlassianUserExternalDataMigrator

java.lang.Object
  extended by com.atlassian.confluence.user.migration.AtlassianUserExternalDataMigrator

public final class AtlassianUserExternalDataMigrator
extends java.lang.Object

Migrates users, their properties and memberships from a pre Confluence 3.5 LDAP setup


Constructor Summary
AtlassianUserExternalDataMigrator(net.sf.hibernate.SessionFactory sessionFactory, com.atlassian.crowd.embedded.api.CrowdService crowdService, HibernateSessionManager hibernateSessionManager, I18NBeanFactory i18nBeanFactory)
           
 
Method Summary
 void migrateToDelegatedDirectory(com.atlassian.crowd.directory.DelegatedAuthenticationDirectory directory, com.atlassian.core.util.ProgressMeter progressMeter)
          Iterates through all external_memberships, pulls in users from LDAP into the delegated directory if they don't exist locally.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtlassianUserExternalDataMigrator

public AtlassianUserExternalDataMigrator(net.sf.hibernate.SessionFactory sessionFactory,
                                         com.atlassian.crowd.embedded.api.CrowdService crowdService,
                                         HibernateSessionManager hibernateSessionManager,
                                         I18NBeanFactory i18nBeanFactory)
Method Detail

migrateToDelegatedDirectory

public void migrateToDelegatedDirectory(com.atlassian.crowd.directory.DelegatedAuthenticationDirectory directory,
                                        com.atlassian.core.util.ProgressMeter progressMeter)
Iterates through all external_memberships, pulls in users from LDAP into the delegated directory if they don't exist locally. Also creates groups if they don't exist locally.

Parameters:
directory - The directory to migrate to
progressMeter - The ProgressMeter object on which to update progress.


Copyright © 2003-2014 Atlassian. All Rights Reserved.