@Immutable public class PasswordPolicy extends Object
The implementation in the class PasswordPolicy ensures that the
password is at least eight characters long and consists of both letters and
digits.
| Constructor and Description |
|---|
PasswordPolicy() |
| Modifier and Type | Method and Description |
|---|---|
void |
check(char[] passwd)
Checks the given password for compliance to this policy.
|
public void check(char[] passwd)
throws WeakPasswordException
WeakPasswordException - If the given password does not comply
to this policy.Copyright © 2005–2017 Schlichtherle IT Services. All rights reserved.