public interface IAuthenticator
Modifier and Type | Method and Description |
---|---|
void |
authenticate(String userID,
char[] password)
Authenticates the user with the passed
userID by checking whether the supplied password
matches the password stored for this user. |
void authenticate(String userID, char[] password) throws SecurityException
userID
by checking whether the supplied password
matches the password stored for this user.
The implementation is required to throw a SecurityException
if the passwords do not match.
SecurityException
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.