public abstract class BasePasswordLoginModule
extends com.axemble.security.loginmodules.AbstractLoginPasswordModule
AUTHENTICATION_ERROR_LOCKED_ACCOUNTALLOWED_ADDRESSES_OPTION, ALLOWED_USERS_OPTION, allowedAddresses, allowedUsers, callbackHandler, callbacks, debug, DEBUG_OPTION, DENIED_ADDRESSES_OPTION, DENIED_USERS_OPTION, deniedAddresses, deniedUsers, log, MESSAGE_IS_NOT_AUTHORIZED, options, sharedState, subject, userName| Constructor and Description |
|---|
BasePasswordLoginModule() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canAuthenticateUser(com.axemble.vdoc.directory.domain.User user) |
abstract boolean |
checkPassword(String password,
IUser user)
This allows to check if a password is valid for a specified user
|
boolean |
checkPassword(com.axemble.vdoc.directory.domain.User user,
String password) |
checkPasswordHandleLock, doInitialize, doLogin, lockHandler, mustCheckPasswordValidity, unLockHandlerabort, addErrorMessage, addErrorMessage, commit, fillCallBacks, getLogin, getOption, getOptions, getPassword, getProtocol, getRequest, getSpecifiedCallback, initialize, isAddressAuthorized, isLoginAuthorized, login, logout, setUserAccountPasswordprotected boolean canAuthenticateUser(com.axemble.vdoc.directory.domain.User user)
canAuthenticateUser in class com.axemble.security.loginmodules.AbstractLoginPasswordModulepublic final boolean checkPassword(com.axemble.vdoc.directory.domain.User user,
String password)
throws com.axemble.directory.exceptions.AuthenticationException,
LoginException
checkPassword in class com.axemble.security.loginmodules.AbstractLoginPasswordModulecom.axemble.directory.exceptions.AuthenticationExceptionLoginExceptionpublic abstract boolean checkPassword(String password, IUser user) throws AuthenticationException, LoginException
password - The password string to checkuser - The specified userAuthenticationExceptionLoginExceptionCopyright © 2021 Visiativ Software. All rights reserved.