public class

TestLdapRepositoryConfigurationMigrator

extends ConfluenceTestCase
java.lang.Object
   ↳ junit.framework.Assert
     ↳ junit.framework.TestCase
       ↳ com.atlassian.confluence.ConfluenceTestCase
         ↳ com.atlassian.confluence.user.migration.TestLdapRepositoryConfigurationMigrator

Class Overview

Unit tests for LdapRepositoryConfigurationMigrator.

Summary

[Expand]
Inherited Fields
From class com.atlassian.confluence.ConfluenceTestCase
Public Constructors
TestLdapRepositoryConfigurationMigrator()
Public Methods
void testActiveDirectoryDetection()
void testConnectionPoolPropertiesMigration()
void testDefaultConnectionPoolProperties()
void testDnCollapseDifferentDNs()
void testDnMergeIdenticalDNs()
void testGenericDirectoryImplementation()
void testMigrationAutomaticallyRefinesUserSearchFilterForLdap()
void testMigrationAutomaticallyRefinesUserSearchFilterForLdapAD()
void testMigrationOfAnonymousBindConfiguration()
void testPaginationEnabledForActiveDirectory()
void testPaginationNotEnabledForGenericLdap()
void testUserObjectClass()
void testValidateActiveDirectoryLdapConfiguration()
void testValidateEmptyLdapConfiguration()
void testValidateLdapConfigurationWithBrokenDn()
void testValidateLdapConfigurationWithGroupSearchMissingObjectClass()
void testValidateLdapConfigurationWithMissingObjectClass()
void testValidateLdapConfigurationWithUserSearchMissingObjectClass()
void testValidateNormalLdapConfiguration()
Protected Methods
void setUp()
void tearDown()
[Expand]
Inherited Methods
From class com.atlassian.confluence.ConfluenceTestCase
From class junit.framework.TestCase
From class junit.framework.Assert
From class java.lang.Object
From interface junit.framework.Test

Public Constructors

public TestLdapRepositoryConfigurationMigrator ()

Public Methods

public void testActiveDirectoryDetection ()

Throws
Exception

public void testConnectionPoolPropertiesMigration ()

Throws
Exception

public void testDefaultConnectionPoolProperties ()

Throws
Exception

public void testDnCollapseDifferentDNs ()

Throws
Exception

public void testDnMergeIdenticalDNs ()

Throws
Exception

public void testGenericDirectoryImplementation ()

Throws
Exception

public void testMigrationAutomaticallyRefinesUserSearchFilterForLdap ()

Throws
Exception

public void testMigrationAutomaticallyRefinesUserSearchFilterForLdapAD ()

Throws
Exception

public void testMigrationOfAnonymousBindConfiguration ()

Throws
Exception

public void testPaginationEnabledForActiveDirectory ()

Throws
Exception

public void testPaginationNotEnabledForGenericLdap ()

Throws
Exception

public void testUserObjectClass ()

Throws
Exception

public void testValidateActiveDirectoryLdapConfiguration ()

Throws
Exception

public void testValidateEmptyLdapConfiguration ()

Throws
Exception

public void testValidateLdapConfigurationWithBrokenDn ()

Throws
Exception

public void testValidateLdapConfigurationWithGroupSearchMissingObjectClass ()

Throws
Exception

public void testValidateLdapConfigurationWithMissingObjectClass ()

Throws
Exception

public void testValidateLdapConfigurationWithUserSearchMissingObjectClass ()

Throws
Exception

public void testValidateNormalLdapConfiguration ()

Throws
Exception

Protected Methods

protected void setUp ()

Throws
Exception

protected void tearDown ()

Throws
Exception