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.PasswordAuthenticatorA testPasswordAuthenticatorthat accepts an authentication attempt if the username is notnulland same as password
-
-
Field Summary
Fields Modifier and Type Field Description static BogusPasswordAuthenticatorINSTANCE
-
Constructor Summary
Constructors Constructor Description BogusPasswordAuthenticator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanauthenticate(java.lang.String username, java.lang.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, warn
-
-
-
-
Field Detail
-
INSTANCE
public static final BogusPasswordAuthenticator INSTANCE
-
-