public class FlatFilePasswordAuthenticationProvider extends PasswordAuthenticationProvider
| Constructor and Description |
|---|
FlatFilePasswordAuthenticationProvider() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
changePassword(Connection con,
String username,
String oldpassword,
String newpassword)
Implement this method to change the users password
|
boolean |
verifyPassword(Connection con,
String username,
String password)
Implement this method to log the user into the system.
|
getNamepublic FlatFilePasswordAuthenticationProvider()
public boolean verifyPassword(Connection con, String username, String password) throws PasswordChangeException
PasswordAuthenticationProviderverifyPassword in class PasswordAuthenticationProviderPasswordChangeException - throw this exception if the users password requires a changing.public boolean changePassword(Connection con, String username, String oldpassword, String newpassword) throws PasswordChangeException
PasswordAuthenticationProviderchangePassword in class PasswordAuthenticationProviderPasswordChangeExceptionCopyright © 2012. All Rights Reserved.