public abstract class BasePasswordLoginModule
extends com.axemble.security.loginmodules.AbstractLoginPasswordModule
AUTHENTICATION_ERROR_LOCKED_ACCOUNT
ALLOWED_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, unLockHandler
abort, addErrorMessage, addErrorMessage, commit, fillCallBacks, getLogin, getOption, getOptions, getPassword, getProtocol, getRequest, getSpecifiedCallback, initialize, isAddressAuthorized, isLoginAuthorized, login, logout, setUserAccountPassword
protected boolean canAuthenticateUser(com.axemble.vdoc.directory.domain.User user)
canAuthenticateUser
in class com.axemble.security.loginmodules.AbstractLoginPasswordModule
public 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.AbstractLoginPasswordModule
com.axemble.directory.exceptions.AuthenticationException
LoginException
public abstract boolean checkPassword(String password, IUser user) throws AuthenticationException, LoginException
password
- The password string to checkuser
- The specified userAuthenticationException
LoginException
Copyright © 2022 Visiativ. All rights reserved.