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) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html