public interface ILoginDialogController
ESUsersession and/or a ESServer instance
to determine when it is necessary to open a
AbstractLoginDialog in order to
authenticate the user.
If authentication already took place no such dialog should be opened.| Modifier and Type | Method and Description |
|---|---|
List<ESUsersession> |
getKnownUsersessions()
Returns the available
ESUsersessions based on server info object, that is retrieved via
getServer(). |
ESServer |
getServer()
Returns the
ESServer the login dialog controller was assigned to, if any. |
ESUsersession |
getUsersession()
Returns the
ESUsersession the login dialog controller was assigned to, if any. |
void |
validate(ESUsersession usersession)
Tries to login the given
ESUsersession. |
void validate(ESUsersession usersession) throws ESException
ESUsersession. If successful, the user session
is attached to the workspace and saved.usersession - the usersession to be validatedESException - in case the log-in of the user session failsESUsersession getUsersession()
ESUsersession the login dialog controller was assigned to, if any.null, if none existsList<ESUsersession> getKnownUsersessions()
ESUsersessions based on server info object, that is retrieved via
getServer().ESServer getServer()
ESServer the login dialog controller was assigned to, if any.
If no server info was set, getUsersession() will be used to try to determine the
relevant server info.Copyright © 2017. All rights reserved.