All Packages Class Hierarchy This Package Previous Next Index
Class mit.login.LoginUtil
java.lang.Object
|
+----mit.login.LoginUtil
- public class LoginUtil
- extends Object
Utility class with various functions for the Login server.
There can only be one instance of the LoginUtil, you get to
it via a call to LoginUtil.getInstance().
-
getInstance()
- Obtain a reference to the one LoginUtil object in the system.
-
LoginOK(String, String)
- Verify username and password.
-
setContext(ServletContext)
-
getInstance
public static LoginUtil getInstance()
- Obtain a reference to the one LoginUtil object in the system.
- Returns:
- the LoginUtil object
setContext
public void setContext(ServletContext context)
LoginOK
public boolean LoginOK(String login,
String password) throws KVerifyException
- Verify username and password.
Returns if true if username and password match.
- Parameters:
- login - The username.
- password - Username's Kerberos password
- Returns:
- true if username/password are correct.
- Throws: KVerifyException
- on a problem.
All Packages Class Hierarchy This Package Previous Next Index