Modifier | Constructor and Description |
---|---|
protected |
AuthorizationPresenter(AuthorizationView authView) |
Modifier and Type | Method and Description |
---|---|
void |
checkForExistingSessions()
Checks for existing sessions of logged in user.
|
void |
checkIfUserIsAbsent()
Checks if the user is absent.
|
protected void |
checkModelConnection()
Checks model connection.
|
String |
getLastUser() |
protected void |
logoff()
Logoff.
|
protected void |
logon(String username,
String password,
int selectedItem,
String mandant) |
boolean |
logoutHandledByLogonProvider() |
protected void |
onCreate()
Set the selected userType.
|
void |
setLastUser(String lastUser)
Sets the last user name.
|
protected void |
startup()
Startup.
|
protected AuthorizationPresenter(AuthorizationView authView)
authView
- Viewprotected void startup() throws NgcUiException
NgcUiException
- system exception on startupprotected void onCreate()
protected void checkModelConnection() throws NgcUiException
NgcUiException
- system exception while checking connection statusprotected void logon(String username, String password, int selectedItem, String mandant) throws NgcUiException, AuthenticationException
username
- Usernamepassword
- PasswordselectedItem
- Index of the selected item in the user-type-comboboxmandant
- MandantNgcUiException
- Exception to be handled by viewAuthenticationException
- password has expiredprotected void logoff() throws NgcUiException
NgcUiException
- a locked document could not be unlocked or a system exception occurredpublic String getLastUser()
public void setLastUser(String lastUser)
lastUser
- last user namepublic void checkIfUserIsAbsent()
public void checkForExistingSessions()
public boolean logoutHandledByLogonProvider()
Copyright © 2021 Hyland Software Germany GmbH. All rights reserved.