Interface DirectoryConfiguration
-
- All Known Implementing Classes:
ActiveDirectoryDirectoryConfiguration
,CrowdDirectoryConfiguration
,CrowdSSODirectoryConfiguration
,DefaultDirectoryConfiguration
,LdapReadOnlyDirectoryConfiguration
,LdapReadOnlyLocalGroupsDirectoryConfiguration
,LdapReadWriteDirectoryConfiguration
@Deprecated public interface DirectoryConfiguration
Deprecated.Please use confluence-test-utils module instead. See {com.atlassian.confluence.test.usermanagement.DirectoryConfiguration} alternative
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default 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
.default void
configure(net.sourceforge.jwebunit.junit.WebTester tester, ConfluenceRpc rpc)
Deprecated.void
configure(net.sourceforge.jwebunit.junit.WebTester tester, ConfluenceRpc rpc, com.atlassian.confluence.test.rest.api.UserDirectoryRest restClient)
Deprecated.default void
configureIfNecessary(net.sourceforge.jwebunit.junit.WebTester tester, ConfluenceRpc rpc, com.atlassian.confluence.test.rest.api.ConfluenceRestClient 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.
-
-
-
Method Detail
-
getHelper
UserManagementHelper getHelper(ConfluenceRpc rpc)
Deprecated.
-
getDirectoryName
String getDirectoryName()
Deprecated.Returns the name of the directory as it appears to users, e.g. in the view user screen.
-
isCorrectlyConfigured
boolean isCorrectlyConfigured(net.sourceforge.jwebunit.junit.WebTester tester)
Deprecated.Returns true if the active configuration matches this configuration. Requires a WebTester already logged in as an administrator.
-
configure
@Deprecated default void configure(net.sourceforge.jwebunit.junit.WebTester tester, ConfluenceRpc rpc)
Deprecated.Changes the active configuration to match this configuration. Requires a WebTester and ConfluenceRpc already logged in as an administrator.
-
configure
void configure(net.sourceforge.jwebunit.junit.WebTester tester, ConfluenceRpc rpc, com.atlassian.confluence.test.rest.api.UserDirectoryRest restClient)
Deprecated.
-
configureIfNecessary
default void configureIfNecessary(net.sourceforge.jwebunit.junit.WebTester tester, ConfluenceRpc rpc, com.atlassian.confluence.test.rest.api.ConfluenceRestClient restClient)
Deprecated.
-
can
boolean can(DirectoryConfigurationCapability capability)
Deprecated.Returnstrue
if this configuration supports the required capability during acceptance tests, otherwisefalse
.
-
isValidUser
boolean isValidUser(User user)
Deprecated.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.
-
isValidGroup
boolean isValidGroup(Group group)
Deprecated.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.
-
-