- All Implemented Interfaces:
- AuthenticationHandler
public class FileAuthenticationHandler
extends AbstractUsernamePasswordAuthenticationHandler
Class designed to read data from a file in the format of USERNAME SEPARATOR
PASSWORD that will go line by line and look for the username. If it finds the
username it will compare the supplied password (first put through a
PasswordTranslator) that is compared to the password provided in the file. If
there is a match, the user is authenticated. Note that the default password
translator is a plaintext password translator and the default separator is
"::" (without quotes).
- Since:
- 3.0
- Author:
- Scott Battaglia, Marvin S. Addison