cafe.authentication
Interface UserAuthentication
- All Known Implementing Classes:
- Authentication
public interface UserAuthentication
Provides a method for authenticating a user from his username and password.
- Version:
- 0.1
- Author:
- Markus Penttila
Method Summary |
boolean |
authenticateUser(java.lang.String username,
java.lang.String password)
Authenticates user by checking the given username and password. |
authenticateUser
boolean authenticateUser(java.lang.String username,
java.lang.String password)
throws java.io.IOException
- Authenticates user by checking the given username and password.
- Parameters:
username
- username to authenticatepassword
- password to authenticate
- Returns:
true
if username and password are correct,
false
if they are not.
- Throws:
java.io.IOException