|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.refFaultParamDb.gui.infotools.SessionInfo
public class SessionInfo
Title: SessionInfo.java
Description: Saves the information about the current session like username, password, contributorId, etc.
Copyright: Copyright (c) 2002
Company:
| Constructor Summary | |
|---|---|
SessionInfo()
|
|
| Method Summary | |
|---|---|
static Contributor |
getContributor()
Get the contributor info |
static String |
getEncryptedPassword()
Get the encrypted password |
static String |
getPassword()
Get the password |
static String |
getUserName()
Get the username to be used for DB connection |
static void |
setContributorInfo()
Get the contributor info from database based on username and password |
static void |
setPassword(String password)
Set the password for making the database connection |
static void |
setUserName(String userName)
Set the username typed by the user in the login window. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SessionInfo()
| Method Detail |
|---|
public static void setUserName(String userName)
userName - public static String getUserName()
public static void setPassword(String password)
password - public static String getPassword()
public static String getEncryptedPassword()
public static void setContributorInfo()
public static Contributor getContributor()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||