portal.core.login.simple
Class SimpleLoginClient

java.lang.Object
  extended byportal.core.login.simple.SimpleLoginClient
All Implemented Interfaces:
LoginClient, java.io.Serializable

public class SimpleLoginClient
extends java.lang.Object
implements LoginClient

See Also:
Serialized Form

Constructor Summary
SimpleLoginClient()
           
 
Method Summary
 void authenticate(java.lang.String username, java.lang.String password)
           
 void destroy()
          Called when the login client is no longer used and can clean up any resources it holds.
 Component getComponent()
          Retrieves the top level component representing the user interface of this login client.
 void init(LoginCallback callBack)
          Initialize the login client.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleLoginClient

public SimpleLoginClient()
Method Detail

init

public void init(LoginCallback callBack)
          throws PortalException
Description copied from interface: LoginClient

Initialize the login client. This method will only be called once. A reference to a login callback is passed for further use in the login process.

Specified by:
init in interface LoginClient
Parameters:
callBack - an instance of the LoginCallback interface
Throws:
PortalException

destroy

public void destroy()
Description copied from interface: LoginClient

Called when the login client is no longer used and can clean up any resources it holds.

Specified by:
destroy in interface LoginClient

getComponent

public Component getComponent()
Description copied from interface: LoginClient

Retrieves the top level component representing the user interface of this login client.

Specified by:
getComponent in interface LoginClient
Returns:
the top level component representing the user interface of this login client

authenticate

public void authenticate(java.lang.String username,
                         java.lang.String password)