|
Babylon Java Chat | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectBabylonUserTool
public class BabylonUserTool
Creates and deletes user account entries in the password file. It has a
main() function, and so can be used from the command line,
but it is also invoked from the GUI of the BabylonServerWindow.
| Method Summary | |
|---|---|
void |
createUser(java.lang.String userName,
java.lang.String encryptedPassword)
Creates the user with the specified name and pre-encrypted password. |
void |
deleteUser(java.lang.String userName)
Deletes the user with the specified name. |
java.lang.String[] |
listUsers()
Returns a String array of the users read from the password file. |
static void |
main(java.lang.String[] args)
Allows this class to be used as a command-line program for creating and deleting users. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void createUser(java.lang.String userName,
java.lang.String encryptedPassword)
throws java.lang.Exception
java.lang.Exception
public void deleteUser(java.lang.String userName)
throws java.lang.Exception
java.lang.Exception
public java.lang.String[] listUsers()
throws java.lang.Exception
String array of the users read from the password file.
java.lang.Exceptionpublic static void main(java.lang.String[] args)
|
Babylon Java Chat | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||