Class DefaultDirectoryConfiguration
- java.lang.Object
-
- com.atlassian.confluence.it.usermanagement.DefaultDirectoryConfiguration
-
- All Implemented Interfaces:
DirectoryConfiguration
@Deprecated public final class DefaultDirectoryConfiguration extends Object implements DirectoryConfiguration
Deprecated.Please use confluence-test-utils module instead. See {com.atlassian.confluence.test.usermanagement.DefaultDirectoryConfiguration} alternativeA configuration with a single internal directory, like when Confluence is first installed.
-
-
Constructor Summary
Constructors Constructor Description DefaultDirectoryConfiguration()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
can(DirectoryConfigurationCapability capability)
Deprecated.Returnstrue
if this configuration supports the required capability during acceptance tests, otherwisefalse
.void
configure(net.sourceforge.jwebunit.junit.WebTester tester, ConfluenceRpc rpc, com.atlassian.confluence.test.rest.api.UserDirectoryRest restClient)
Deprecated.String
getDirectoryName()
Deprecated.Returns the name of the directory as it appears to users, e.g.UserManagementHelper
getHelper(ConfluenceRpc rpc)
Deprecated.boolean
isCorrectlyConfigured(net.sourceforge.jwebunit.junit.WebTester tester)
Deprecated.Returns true if the active configuration matches this configuration.boolean
isValidGroup(Group group)
Deprecated.Returnstrue
if the provided group details are valid for creation on this configuration.boolean
isValidUser(User user)
Deprecated.Returnstrue
if the provided user details are valid for creation on this configuration.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.confluence.it.usermanagement.DirectoryConfiguration
configure, configureIfNecessary
-
-
-
-
Method Detail
-
getHelper
public UserManagementHelper getHelper(ConfluenceRpc rpc)
Deprecated.- Specified by:
getHelper
in interfaceDirectoryConfiguration
-
getDirectoryName
public String getDirectoryName()
Deprecated.Description copied from interface:DirectoryConfiguration
Returns the name of the directory as it appears to users, e.g. in the view user screen.- Specified by:
getDirectoryName
in interfaceDirectoryConfiguration
-
isCorrectlyConfigured
public boolean isCorrectlyConfigured(net.sourceforge.jwebunit.junit.WebTester tester)
Deprecated.Description copied from interface:DirectoryConfiguration
Returns true if the active configuration matches this configuration. Requires a WebTester already logged in as an administrator.- Specified by:
isCorrectlyConfigured
in interfaceDirectoryConfiguration
-
configure
public void configure(net.sourceforge.jwebunit.junit.WebTester tester, ConfluenceRpc rpc, com.atlassian.confluence.test.rest.api.UserDirectoryRest restClient)
Deprecated.- Specified by:
configure
in interfaceDirectoryConfiguration
-
can
public boolean can(DirectoryConfigurationCapability capability)
Deprecated.Description copied from interface:DirectoryConfiguration
Returnstrue
if this configuration supports the required capability during acceptance tests, otherwisefalse
.- Specified by:
can
in interfaceDirectoryConfiguration
-
isValidUser
public boolean isValidUser(User user)
Deprecated.Description copied from interface:DirectoryConfiguration
Returnstrue
if the provided user details are valid for creation on this configuration. Some LDAP servers have limitations on characters which can be used in usernames and/or display names.- Specified by:
isValidUser
in interfaceDirectoryConfiguration
-
isValidGroup
public boolean isValidGroup(Group group)
Deprecated.Description copied from interface:DirectoryConfiguration
Returnstrue
if the provided group details are valid for creation on this configuration. Some LDAP servers have limitations on characters which can be used in group names.- Specified by:
isValidGroup
in interfaceDirectoryConfiguration
-
-