Class BogusPasswordAuthenticator
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.maven.scm.provider.git.BogusPasswordAuthenticator
- All Implemented Interfaces:
org.apache.sshd.server.auth.password.PasswordAuthenticator
public class BogusPasswordAuthenticator
extends org.apache.sshd.common.util.logging.AbstractLoggingBean
implements org.apache.sshd.server.auth.password.PasswordAuthenticator
A test
PasswordAuthenticator that accepts an authentication attempt if the username is not null and
same as password-
Field Summary
FieldsFields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanauthenticate(String username, String password, org.apache.sshd.server.session.ServerSession session) 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, warnMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.sshd.server.auth.password.PasswordAuthenticator
handleClientPasswordChangeRequest
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
BogusPasswordAuthenticator
public BogusPasswordAuthenticator()
-
-
Method Details
-
authenticate
-