public class

TestConfluenceLDAPGroupJoiningAuthenticator

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

Class Overview

Unit test for ConfluenceLDAPGroupJoiningAuthenticator

Summary

[Expand]
Inherited Fields
From class com.atlassian.confluence.ConfluenceTestCase
Public Constructors
TestConfluenceLDAPGroupJoiningAuthenticator()
Public Methods
void testUserInDelegatedDirectoryIsAdded()
void testUserInInternalDirectoryIsNotAdded()
void testUserInLdapDirectoryIsAdded()
void testUserNotAddedIfAlreadyAMember()
void testUserNotFoundIsNotAdded()
void testUserWithoutMatchingDirectoryIsNotAdded()
Protected Methods
void registerAdditionalSingletons(ConfigurableListableBeanFactory beanFactory)
Allows tests to add additional mock dependencies to the test spring context
void setUp()
[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 TestConfluenceLDAPGroupJoiningAuthenticator ()

Public Methods

public void testUserInDelegatedDirectoryIsAdded ()

Throws
Exception

public void testUserInInternalDirectoryIsNotAdded ()

Throws
Exception

public void testUserInLdapDirectoryIsAdded ()

Throws
Exception

public void testUserNotAddedIfAlreadyAMember ()

Throws
Exception

public void testUserNotFoundIsNotAdded ()

Throws
Exception

public void testUserWithoutMatchingDirectoryIsNotAdded ()

Throws
Exception

Protected Methods

protected void registerAdditionalSingletons (ConfigurableListableBeanFactory beanFactory)

Allows tests to add additional mock dependencies to the test spring context

protected void setUp ()

Throws
Exception