Class sun.server.util.PasswordApplet
All Packages Class Hierarchy This Package Previous Next Index
Class sun.server.util.PasswordApplet
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----java.applet.Applet
|
+----sun.server.util.AlertableApplet
|
+----sun.server.util.PasswordApplet
- public class PasswordApplet
- extends AlertableApplet
An applet class that reads password file, user and password and
passes the encoded string along to the server.
-
PasswordApplet()
-
-
action(Event, Object)
-
-
createUser(String, String, String, boolean)
- create the user and password.
-
handleEvent(Event)
-
-
init()
-
-
keyDown(Event, int)
-
-
mouseEnter(Event, int, int)
-
PasswordApplet
public PasswordApplet()
init
public void init()
- Overrides:
- init in class Applet
action
public boolean action(Event e,
Object arg)
- Overrides:
- action in class Component
handleEvent
public boolean handleEvent(Event e)
- Overrides:
- handleEvent in class Component
mouseEnter
public boolean mouseEnter(Event e,
int x,
int y)
- Overrides:
- mouseEnter in class Component
keyDown
public boolean keyDown(Event evt,
int key)
- Overrides:
- keyDown in class Component
createUser
public boolean createUser(String keyString,
String userString,
String passString,
boolean standAlone) throws PasswdEntryException
- create the user and password.
- Parameters:
- standAlone - if this is true, a local file is created.
If false, the applet will send encoded password back to the server.
- Throws: PasswdEntryException
- the exception is raised if user
already exists in the password file.
All Packages Class Hierarchy This Package Previous Next Index