Class Authenticator
java.lang.Object
|
+----Authenticator
- public class Authenticator
- extends Object
-
Authenticator()
- Init to set up Sql connection.
-
authenticate(String, String)
- Authenticate username and passwd
Authenticator
public Authenticator() throws SQLException
- Init to set up Sql connection.
authenticate
public boolean authenticate(String uname,
String pwd) throws SQLException
- Authenticate username and passwd
- Parameters:
- uname - User name
- pwd - User Password
- Returns:
- Boolean value