public class LdapRepositoryConfigurationMigrator extends Object implements RepositoryConfigurationMigrator
| Modifier and Type | Field and Description |
|---|---|
static String |
LDAP_DIRECTORY_DESC |
static String |
LDAP_DIRECTORY_NAME |
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 |
|---|---|
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.
|
void |
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 static final org.slf4j.Logger log
public static final String LDAP_DIRECTORY_NAME
public static final String LDAP_DIRECTORY_DESC
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 void migrate(com.atlassian.user.configuration.RepositoryConfiguration repositoryConfiguration)
RepositoryConfigurationMigratorCrowdDirectoryService.addDirectory(com.atlassian.crowd.embedded.api.Directory).migrate in interface RepositoryConfigurationMigratorrepositoryConfiguration - the configuration to migrateCopyright © 2003–2016 Atlassian. All rights reserved.