public class InternalDirectoryPasswordConstraintsLoader extends Object implements PasswordConstraintsLoader
PasswordConstraint's
for a directory based on the directory's attributes. This implementation uses attributes
defined on an InternalDirectory.AbstractInternalDirectory.ATTRIBUTE_PASSWORD_MINIMUM_DIGITS,
AbstractInternalDirectory.ATTRIBUTE_PASSWORD_MINIMUM_LENGTH,
AbstractInternalDirectory.ATTRIBUTE_PASSWORD_MINIMUM_LOWERCASE,
AbstractInternalDirectory.ATTRIBUTE_PASSWORD_MINIMUM_RULES_MATCHED,
AbstractInternalDirectory.ATTRIBUTE_PASSWORD_MINIMUM_SCORE,
AbstractInternalDirectory.ATTRIBUTE_PASSWORD_MINIMUM_SPECIAL_CHARACTERS,
AbstractInternalDirectory.ATTRIBUTE_PASSWORD_MINIMUM_UPPERCASE,
AbstractInternalDirectory.ATTRIBUTE_PASSWORD_REGEX| Constructor and Description |
|---|
InternalDirectoryPasswordConstraintsLoader(PasswordScoreService passwordScoreService) |
| Modifier and Type | Method and Description |
|---|---|
Set<PasswordConstraint> |
getFromDirectoryAttributes(long directoryId,
Attributes attributes)
Returns all constraints that are configured for a directory.
|
public InternalDirectoryPasswordConstraintsLoader(PasswordScoreService passwordScoreService)
public Set<PasswordConstraint> getFromDirectoryAttributes(long directoryId, Attributes attributes)
PasswordConstraintsLoadergetFromDirectoryAttributes in interface PasswordConstraintsLoaderdirectoryId - a directory's idattributes - a directory's AttributesPasswordConstraint'sCopyright © 2024 Atlassian. All rights reserved.