org.fuin.examples.apps4xxxxx
Interface LoginModule

All Superinterfaces:
org.fuin.apps4j.base.Module

public interface LoginModule
extends org.fuin.apps4j.base.Module

A login dialog. Caution: Don't implement this interface directly! It's only used by the caller and will be implemented by the framework on-the-fly.


Method Summary
 String login()
          Shows a login dialog and returns after the login is done.
 String login(String username)
          Shows a login dialog with a preset user name and returns after the login is done.
 

Method Detail

login

String login(String username)
             throws org.fuin.apps4j.base.CanceledException
Shows a login dialog with a preset user name and returns after the login is done.

Parameters:
username - Initial user name or null.
Returns:
Name of the user that successfully logged in.
Throws:
org.fuin.apps4j.base.CanceledException - User canceled the login process.

login

String login()
             throws org.fuin.apps4j.base.CanceledException
Shows a login dialog and returns after the login is done.

Returns:
Name of the user that successfully logged in.
Throws:
org.fuin.apps4j.base.CanceledException - User canceled the login process.


Copyright © 2011 Future Invent Informationsmanagement GmbH. All Rights Reserved.