@Deprecated public final class DefaultDirectoryConfiguration extends Object implements DirectoryConfiguration
Constructor and Description |
---|
DefaultDirectoryConfiguration()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
can(DirectoryConfigurationCapability capability)
Deprecated.
Returns
true if this configuration supports the required capability during acceptance tests, otherwise false . |
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.
Returns
true if the provided group details are valid for creation on this configuration. |
boolean |
isValidUser(User user)
Deprecated.
Returns
true if the provided user details are valid for creation on this configuration. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configure, configureIfNecessary
public UserManagementHelper getHelper(ConfluenceRpc rpc)
getHelper
in interface DirectoryConfiguration
public String getDirectoryName()
DirectoryConfiguration
getDirectoryName
in interface DirectoryConfiguration
public boolean isCorrectlyConfigured(net.sourceforge.jwebunit.junit.WebTester tester)
DirectoryConfiguration
isCorrectlyConfigured
in interface DirectoryConfiguration
public void configure(net.sourceforge.jwebunit.junit.WebTester tester, ConfluenceRpc rpc, com.atlassian.confluence.test.rest.api.UserDirectoryRest restClient)
configure
in interface DirectoryConfiguration
public boolean can(DirectoryConfigurationCapability capability)
DirectoryConfiguration
true
if this configuration supports the required capability during acceptance tests, otherwise false
.can
in interface DirectoryConfiguration
public boolean isValidUser(User user)
DirectoryConfiguration
true
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.isValidUser
in interface DirectoryConfiguration
public boolean isValidGroup(Group group)
DirectoryConfiguration
true
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.isValidGroup
in interface DirectoryConfiguration
Copyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences