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

    Fields
    Modifier and Type
    Field
    Description
     

    Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean

    log
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    authenticate(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, warn

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.sshd.server.auth.password.PasswordAuthenticator

    handleClientPasswordChangeRequest
  • Field Details

  • Constructor Details

    • BogusPasswordAuthenticator

      public BogusPasswordAuthenticator()
  • Method Details

    • authenticate

      public boolean authenticate(String username, String password, org.apache.sshd.server.session.ServerSession session)
      Specified by:
      authenticate in interface org.apache.sshd.server.auth.password.PasswordAuthenticator