public class DefaultPasswordGenerator extends Object implements PasswordGenerator
DefaultPasswordRuleConf
into account.Modifier and Type | Field and Description |
---|---|
protected Map<String,PasswordRule> |
perContextPasswordRules |
Constructor and Description |
---|
DefaultPasswordGenerator() |
Modifier and Type | Method and Description |
---|---|
String |
generate(ExternalResource resource) |
String |
generate(List<PasswordPolicy> policies) |
protected List<PasswordRule> |
getPasswordRules(PasswordPolicy policy) |
protected final Map<String,PasswordRule> perContextPasswordRules
@Transactional(readOnly=true) public String generate(ExternalResource resource) throws InvalidPasswordRuleConf
generate
in interface PasswordGenerator
InvalidPasswordRuleConf
protected List<PasswordRule> getPasswordRules(PasswordPolicy policy)
public String generate(List<PasswordPolicy> policies) throws InvalidPasswordRuleConf
generate
in interface PasswordGenerator
InvalidPasswordRuleConf
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.