Class JaasPasswordAuthenticator

java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.server.jaas.JaasPasswordAuthenticator
All Implemented Interfaces:
PasswordAuthenticator

public class JaasPasswordAuthenticator extends AbstractLoggingBean implements PasswordAuthenticator
TODO Add javadoc
Author:
Apache MINA SSHD Project
  • Constructor Details

    • JaasPasswordAuthenticator

      public JaasPasswordAuthenticator()
    • JaasPasswordAuthenticator

      public JaasPasswordAuthenticator(String domain)
  • Method Details

    • getDomain

      public String getDomain()
    • setDomain

      public void setDomain(String domain)
    • authenticate

      public boolean authenticate(String username, String password, ServerSession session)
      Description copied from interface: PasswordAuthenticator
      Check the validity of a password.
      Specified by:
      authenticate in interface PasswordAuthenticator
      Parameters:
      username - The username credential
      password - The provided password
      session - The ServerSession attempting the authentication
      Returns:
      true indicating if authentication succeeded