org.apache.sshd.server
Interface PasswordAuthenticator
- All Known Implementing Classes:
- JaasPasswordAuthenticator
public interface PasswordAuthenticator
The PasswordAuthenticator is used to authenticate
users based on a password.
- Author:
- Apache MINA SSHD Project
|
Method Summary |
boolean |
authenticate(java.lang.String username,
java.lang.String password,
ServerSession session)
Check the validity of a password. |
authenticate
boolean authenticate(java.lang.String username,
java.lang.String password,
ServerSession session)
- Check the validity of a password.
This method should return null if the authentication fails.
- Parameters:
username - the usernamepassword - the passwordsession - the server session
- Returns:
- a boolean indicating if authentication succeeded or not
Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.