Class IcsmuniczPasswordManagerModule
java.lang.Object
cz.metacentrum.perun.core.impl.modules.pwdmgr.GenericPasswordManagerModule
cz.metacentrum.perun.core.impl.modules.pwdmgr.IcsmuniczPasswordManagerModule
- All Implemented Interfaces:
PasswordManagerModule
Password manager for ICS-MUNI-CZ login-namespace.
-
Field Summary
Fields inherited from class cz.metacentrum.perun.core.impl.modules.pwdmgr.GenericPasswordManagerModule
actualLoginNamespace, altPasswordManagerProgram, BIN_TRUE, DEFAULT_LOGIN_PATTERN, LOGIN_EXIST, PASSWORD_CHANGE, PASSWORD_CHECK, PASSWORD_CREATE, PASSWORD_DELETE, PASSWORD_RESERVE, PASSWORD_RESERVE_RANDOM, PASSWORD_VALIDATE, passwordManagerProgram, randomPasswordCharacters, randomPasswordLength, WEAKPASS
Fields inherited from interface cz.metacentrum.perun.core.implApi.modules.pwdmgr.PasswordManagerModule
ALT_PASSWORD_PREFIX, BIRTH_DAY_KEY, BIRTH_NUMBER_KEY, FIRST_NAME_KEY, LAST_NAME_KEY, LOGIN_PREFIX, MAIL_KEY, PASSWORD_KEY, TITLE_AFTER_KEY, TITLE_BEFORE_KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkPasswordStrength
(PerunSession sess, String login, String password) void
validatePassword
(PerunSession sess, String userLogin, User user) Methods inherited from class cz.metacentrum.perun.core.impl.modules.pwdmgr.GenericPasswordManagerModule
changePassword, checkLoginFormat, checkPassword, createAlternativePassword, createAltPwdManagerProcess, createPwdManagerProcess, deleteAlternativePassword, deletePassword, generateAccount, generateRandomPassword, getActualLoginNamespace, handleAltPwdManagerExit, handleExit, handleGenericErrorCode, loginExist, reservePassword, reserveRandomPassword, sendPassword, setActualLoginNamespace
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cz.metacentrum.perun.core.implApi.modules.pwdmgr.PasswordManagerModule
handleSponsorship
-
Field Details
-
passwordMinLength
protected final int passwordMinLength- See Also:
-
-
Constructor Details
-
IcsmuniczPasswordManagerModule
public IcsmuniczPasswordManagerModule()
-
-
Method Details
-
checkPasswordStrength
public void checkPasswordStrength(PerunSession sess, String login, String password) throws PasswordStrengthException - Specified by:
checkPasswordStrength
in interfacePasswordManagerModule
- Overrides:
checkPasswordStrength
in classGenericPasswordManagerModule
- Throws:
PasswordStrengthException
-
validatePassword
public void validatePassword(PerunSession sess, String userLogin, User user) throws InvalidLoginException - Specified by:
validatePassword
in interfacePasswordManagerModule
- Overrides:
validatePassword
in classGenericPasswordManagerModule
- Throws:
InvalidLoginException
-