Class JaasPasswordAuthenticator
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.server.jaas.JaasPasswordAuthenticator
- All Implemented Interfaces:
PasswordAuthenticator
TODO Add javadoc
-
Field Summary
FieldsFields inherited from class AbstractLoggingBean
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanauthenticate(String username, String password, ServerSession session) Check the validity of a password.voidMethods inherited from class AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warnMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PasswordAuthenticator
handleClientPasswordChangeRequest
-
Field Details
-
domain
-
-
Constructor Details
-
JaasPasswordAuthenticator
public JaasPasswordAuthenticator() -
JaasPasswordAuthenticator
-
-
Method Details
-
getDomain
-
setDomain
-
authenticate
Description copied from interface:PasswordAuthenticatorCheck the validity of a password.- Specified by:
authenticatein interfacePasswordAuthenticator- Parameters:
username- The username credentialpassword- The provided passwordsession- TheServerSessionattempting the authentication- Returns:
trueindicating if authentication succeeded
-