public class DirectoryValidationHelper extends Object
| Constructor and Description |
|---|
DirectoryValidationHelper(CrowdDirectoryService crowdDirectoryService,
I18nHelper i18nHelper) |
| Modifier and Type | Method and Description |
|---|---|
ValidationError |
checkNameValid(Directory directory,
String newDirectoryName)
Checks whether the given name is either null, or blank, or is not unique, if any of the before then returns a
ValidationError |
List<ValidationError> |
validateSpringLdapPoolConfig(LdapPoolConfig poolConfig)
Validates the configuration for Dynamic LDAP pool.
|
public DirectoryValidationHelper(CrowdDirectoryService crowdDirectoryService, I18nHelper i18nHelper)
public ValidationError checkNameValid(Directory directory, String newDirectoryName)
ValidationErrordirectory - Directory entity to be used for validation of the new namenewDirectoryName - New directory name to be validatedpublic List<ValidationError> validateSpringLdapPoolConfig(LdapPoolConfig poolConfig)
poolConfig - the configuration to validateCopyright © 2023 Atlassian. All rights reserved.