public final class LdapReadWriteDirectoryConfiguration extends Object implements DirectoryConfiguration
Constructor and Description |
---|
LdapReadWriteDirectoryConfiguration() |
Modifier and Type | Method and Description |
---|---|
boolean |
can(DirectoryConfigurationCapability capability)
Returns
true if this configuration supports the required capability during acceptance tests, otherwise false . |
void |
configure(net.sourceforge.jwebunit.junit.WebTester tester,
ConfluenceRpc rpc)
Changes the active configuration to match this configuration.
|
String |
getDirectoryName()
Returns the name of the directory as it appears to users, e.g.
|
UserManagementHelper |
getHelper(ConfluenceRpc rpc) |
boolean |
isCorrectlyConfigured(net.sourceforge.jwebunit.junit.WebTester tester)
Returns true if the active configuration matches this configuration.
|
boolean |
isValidGroup(Group group)
Returns
true if the provided group details are valid for creation on this configuration. |
boolean |
isValidUser(User user)
Returns
true if the provided user details are valid for creation on this configuration. |
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)
DirectoryConfiguration
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–2017 Atlassian. All rights reserved.