public class LdapRepositoryConfigurationMigrator extends Object implements RepositoryConfigurationMigrator
| Modifier and Type | Field and Description | 
|---|---|
static org.slf4j.Logger | 
log  | 
| Constructor and Description | 
|---|
LdapRepositoryConfigurationMigrator(com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService,
                                   com.atlassian.crowd.directory.ldap.util.LDAPPropertiesHelper ldapPropertiesHelper)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected String | 
extractObjectClassOrCategory(com.atlassian.user.configuration.RepositoryConfiguration repositoryConfiguration,
                            String searchFilterComponent)  | 
boolean | 
matches(com.atlassian.user.configuration.RepositoryConfiguration repositoryConfiguration)
Return true if this migrator is able to migrate the configuration supplied by the passed in configuration. 
 | 
com.atlassian.crowd.embedded.api.Directory | 
migrate(com.atlassian.user.configuration.RepositoryConfiguration repositoryConfiguration)
Migrate the passed in configuration. 
 | 
List<String> | 
validate(com.atlassian.user.configuration.RepositoryConfiguration repositoryConfiguration)
Validates that the passed in configuration can be migrated. 
 | 
public LdapRepositoryConfigurationMigrator(com.atlassian.crowd.embedded.api.CrowdDirectoryService crowdDirectoryService,
                                           com.atlassian.crowd.directory.ldap.util.LDAPPropertiesHelper ldapPropertiesHelper)
public boolean matches(com.atlassian.user.configuration.RepositoryConfiguration repositoryConfiguration)
RepositoryConfigurationMigratormatches in interface RepositoryConfigurationMigratorrepositoryConfiguration - the configuration to migratepublic List<String> validate(com.atlassian.user.configuration.RepositoryConfiguration repositoryConfiguration)
RepositoryConfigurationMigratorvalidate in interface RepositoryConfigurationMigratorrepositoryConfiguration - the configuration to validatepublic com.atlassian.crowd.embedded.api.Directory migrate(com.atlassian.user.configuration.RepositoryConfiguration repositoryConfiguration)
RepositoryConfigurationMigratorCrowdDirectoryService.addDirectory(com.atlassian.crowd.embedded.api.Directory).migrate in interface RepositoryConfigurationMigratorrepositoryConfiguration - the configuration to migrateCopyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.