|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ILoginDialogController
The login dialog controller manages a given ESUsersession and/or a ESServer instance
to determine when it is necessary to open a LoginDialog in order to authenticate the user.
If authentication already took place no such dialog should be opened.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
void validate(ESUsersession usersession)
throws ESException
ESUsersession. If successful, the user session
is attached to the workspace and saved.
usersession - the usersession to be validated
ESException - 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||