|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sandev.basics.structs.BaseUserStruct
The single root user definition from which all user definitions extend. This is a convenient abstract base class for applications to define their own user definitions.
| Field Summary | |
protected java.lang.String |
password
A password matched with the username at login. |
protected java.lang.String |
username
A name uniquely identifying this user for login purposes. |
| Constructor Summary | |
BaseUserStruct()
|
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String username
protected java.lang.String password
When coming up with a password, try to include numbers or other characters besides just letters. Avoid names or words that are easy to guess, and never use your bank PIN or other secure information for anything other than the bank or site it was given for.
If coming up with a password is difficult, consider searching
the web for "random password generator" and using the output from
one of them. Alternatively, think of a phrase and use the first
letter of each word in the phrase. For example the phrase "I can't
think of a good password to use" could translate to
Ictoagp2u. Come up with your own phrase, and sprinkle
in some numbers, underscores or hyphens.
| Constructor Detail |
public BaseUserStruct()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||