com.maverick.sshd.flatfile
Class FlatFilePasswordAuthenticationProvider
java.lang.Object
com.maverick.sshd.PasswordAuthenticationProvider
com.maverick.sshd.flatfile.FlatFilePasswordAuthenticationProvider
- All Implemented Interfaces:
- AuthenticationProvider
public class FlatFilePasswordAuthenticationProvider
- extends PasswordAuthenticationProvider
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FlatFilePasswordAuthenticationProvider
public FlatFilePasswordAuthenticationProvider()
verifyPassword
public boolean verifyPassword(Connection con,
String username,
String password)
throws PasswordChangeException
- Description copied from class:
PasswordAuthenticationProvider
- Implement this method to log the user into the system.
- Specified by:
verifyPassword in class PasswordAuthenticationProvider
- Returns:
- boolean
- Throws:
PasswordChangeException - throw this exception if the users password requires a changing.
changePassword
public boolean changePassword(Connection con,
String username,
String oldpassword,
String newpassword)
throws PasswordChangeException
- Description copied from class:
PasswordAuthenticationProvider
- Implement this method to change the users password
- Specified by:
changePassword in class PasswordAuthenticationProvider
- Returns:
- boolean
- Throws:
PasswordChangeException
Copyright © 2012. All Rights Reserved.