public class PasswordHelperImpl extends Object implements PasswordHelper
Constructor and Description |
---|
PasswordHelperImpl() |
Modifier and Type | Method and Description |
---|---|
String |
generateRandomPassword() |
boolean |
validateRegex(String regex,
PasswordCredential credential)
Validates the password meets the expected regex restriction.
|
public boolean validateRegex(String regex, PasswordCredential credential)
validateRegex
in interface PasswordHelper
regex
- The regex pattern.credential
- The password to check.public String generateRandomPassword()
generateRandomPassword
in interface PasswordHelper
Copyright © 2013 Atlassian. All Rights Reserved.