Ontimize 5.2072EN

com.ontimize.gui.login
Interface ILoginDialog

All Superinterfaces:
Internationalization
All Known Implementing Classes:
AbstractLoginDialog, DefaultLoginDialog

public interface ILoginDialog
extends Internationalization


Field Summary
static java.lang.String CONNECT_TO
           
static java.lang.String CONNECT_TO_KEY
           
static java.lang.String CONNECT_TO_TOOLTIP
           
static java.lang.String CONNECTING_KEY
           
static java.lang.String DNS_OPTIONS
           
static java.lang.String ENCRYPT
           
static java.lang.String ERROR_LOGIN_KEY
           
static java.lang.String LAST_LOGIN
           
static java.lang.String LOGIN_ICON
           
static java.lang.String LOGIN_TEXT
           
static java.lang.String REMEMBER_LAST_LOGIN
           
static java.lang.String REMEMBER_PASSWORD
           
static java.lang.String WINDOW_TITLE
           
static java.lang.String WRONG_LOGIN_KEY
           
 
Fields inherited from interface com.ontimize.gui.i18n.Internationalization
DEBUG_LANGUAGE
 
Method Summary
 boolean checkLogin()
          Check the user and password.
 Application getApplication()
           
 java.lang.String getConnectedServer()
           
 EntityReferenceLocator getEntityReferenceLocator()
           
 java.lang.String getPasswordValue()
          Returns a String with password value
 java.lang.String getUserValue()
          Returns a String with user value
 boolean isLoggedIn()
           
 boolean isRememberLogin()
           
 boolean isRememberPassword()
           
 boolean isServerSelection()
           
 boolean login()
           
 
Methods inherited from interface com.ontimize.gui.i18n.Internationalization
getTextsToTranslate, setComponentLocale, setResourceBundle
 

Field Detail

ENCRYPT

public static final java.lang.String ENCRYPT
See Also:
Constant Field Values

LOGIN_ICON

public static final java.lang.String LOGIN_ICON
See Also:
Constant Field Values

LOGIN_TEXT

public static final java.lang.String LOGIN_TEXT
See Also:
Constant Field Values

REMEMBER_PASSWORD

public static final java.lang.String REMEMBER_PASSWORD
See Also:
Constant Field Values

REMEMBER_LAST_LOGIN

public static final java.lang.String REMEMBER_LAST_LOGIN
See Also:
Constant Field Values

LAST_LOGIN

public static final java.lang.String LAST_LOGIN
See Also:
Constant Field Values

DNS_OPTIONS

public static final java.lang.String DNS_OPTIONS
See Also:
Constant Field Values

CONNECT_TO

public static final java.lang.String CONNECT_TO
See Also:
Constant Field Values

WRONG_LOGIN_KEY

public static final java.lang.String WRONG_LOGIN_KEY
See Also:
Constant Field Values

ERROR_LOGIN_KEY

public static final java.lang.String ERROR_LOGIN_KEY
See Also:
Constant Field Values

WINDOW_TITLE

public static final java.lang.String WINDOW_TITLE
See Also:
Constant Field Values

CONNECTING_KEY

public static final java.lang.String CONNECTING_KEY
See Also:
Constant Field Values

CONNECT_TO_TOOLTIP

public static final java.lang.String CONNECT_TO_TOOLTIP
See Also:
Constant Field Values

CONNECT_TO_KEY

public static final java.lang.String CONNECT_TO_KEY
See Also:
Constant Field Values
Method Detail

login

public boolean login()

getEntityReferenceLocator

public EntityReferenceLocator getEntityReferenceLocator()

getApplication

public Application getApplication()

isLoggedIn

public boolean isLoggedIn()

isRememberPassword

public boolean isRememberPassword()

getPasswordValue

public java.lang.String getPasswordValue()
Returns a String with password value

Returns:

isRememberLogin

public boolean isRememberLogin()

getUserValue

public java.lang.String getUserValue()
Returns a String with user value

Returns:

isServerSelection

public boolean isServerSelection()

getConnectedServer

public java.lang.String getConnectedServer()

checkLogin

public boolean checkLogin()
                   throws java.lang.Exception
Check the user and password. If the user and password are valid then start session for this user.

Returns:
a boolean with true whether the user and password are valid.
Throws:
java.lang.Exception

Ontimize