Interface PasswordProtected
-
- All Known Implementing Classes:
Administrator,User,User,User,User,UserServer,UserServer,UserServer
public interface PasswordProtectedClasses that arePasswordProtectedprovide mechanisms for checking password strength.- Author:
- AO Industries, Inc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intarePasswordsSet()booleancanSetPassword()List<PasswordChecker.Result>checkPassword(String password)voidsetPassword(String password)
-
-
-
Field Detail
-
NONE
static final int NONE
Indicates that none of the passwords are set.- See Also:
- Constant Field Values
-
SOME
static final int SOME
Indicates that some of the passwords are set.- See Also:
- Constant Field Values
-
ALL
static final int ALL
Indicates that all of the passwords are set.- See Also:
- Constant Field Values
-
-
Method Detail
-
checkPassword
List<PasswordChecker.Result> checkPassword(String password) throws IOException, SQLException
- Throws:
IOExceptionSQLException
-
canSetPassword
boolean canSetPassword() throws IOException, SQLException- Throws:
IOExceptionSQLException
-
arePasswordsSet
int arePasswordsSet() throws IOException, SQLException- Throws:
IOExceptionSQLException
-
setPassword
void setPassword(String password) throws IOException, SQLException
- Throws:
IOExceptionSQLException
-
-