|
Venice 0.751beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnz.org.venice.quote.DatabaseAccessManager
Manages database settings where the data is session based (ie not stored on disk ) Where the database is stored locally, a simple mask is applied. While this is trivial to break, the purpose is to slow an attacker so they don't immediately gain access to the database. (If an attacker has access to the user account, not even a session password will help)
DatabaseManager,
PreferencesManager| Method Summary | |
static DatabaseAccessManager |
getInstance()
|
java.lang.String |
getPassword()
Return the database password. |
java.lang.String |
mask(java.lang.String unmasked)
Return a string after the mask has been applied to a plain text string. |
void |
reset()
Set the QuoteSource and AlertManager source to null, forcing the Factories to recreate their database objects. |
java.lang.String |
unMask(java.lang.String masked)
Return a plaintext string with the mask removed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static DatabaseAccessManager getInstance()
public void reset()
public java.lang.String unMask(java.lang.String masked)
masked - A string which has had a mask applied by the mask method
public java.lang.String mask(java.lang.String unmasked)
unmasked - A plaintext string
public java.lang.String getPassword()
|
Venice 0.751beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||