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.

Constructor Index

 o PasswordApplet()

Method Index

 o action(Event, Object)
 o createUser(String, String, String, boolean)
create the user and password.
 o handleEvent(Event)
 o init()
 o keyDown(Event, int)
 o mouseEnter(Event, int, int)

Constructors

 o PasswordApplet
  public PasswordApplet()

Methods

 o init
  public void init()
Overrides:
init in class Applet
 o action
  public boolean action(Event e,
                        Object arg)
Overrides:
action in class Component
 o handleEvent
  public boolean handleEvent(Event e)
Overrides:
handleEvent in class Component
 o mouseEnter
  public boolean mouseEnter(Event e,
                            int x,
                            int y)
Overrides:
mouseEnter in class Component
 o keyDown
  public boolean keyDown(Event evt,
                         int key)
Overrides:
keyDown in class Component
 o 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