Package org.apache.sshd.server.jaas
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
- Author:
- Apache MINA SSHD Project
-
Field Summary
Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
authenticate
(String username, String password, ServerSession session) Check the validity of a password.void
Methods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.sshd.server.auth.password.PasswordAuthenticator
handleClientPasswordChangeRequest
-
Constructor Details
-
JaasPasswordAuthenticator
public JaasPasswordAuthenticator() -
JaasPasswordAuthenticator
-
-
Method Details
-
getDomain
-
setDomain
-
authenticate
Description copied from interface:PasswordAuthenticator
Check the validity of a password.- Specified by:
authenticate
in interfacePasswordAuthenticator
- Parameters:
username
- The username credentialpassword
- The provided passwordsession
- TheServerSession
attempting the authentication- Returns:
true
indicating if authentication succeeded
-