public interface LoginProxy
Modifier and Type | Method and Description |
---|---|
void |
close()
Disposes of all resources used by this LoginProxy, after a call to this
method the proxy should be regarded as unusable.
|
RemoteClient |
doLogin(RemoteClient remoteClient)
Performs login validation for the user specified by the remote client
and returns a remote client with the same clientId and user but possibly
a different databaseUser to propagate to further login procedures
|
void |
doLogout(RemoteClient remoteClient)
Called after the given client has been disconnected
|
java.lang.String |
getClientTypeId() |
java.lang.String getClientTypeId()
RemoteClient doLogin(RemoteClient remoteClient) throws ServerException.LoginException
remoteClient
- the clientServerException.LoginException
- in case the login failsRemoteClient.getDatabaseUser()
void doLogout(RemoteClient remoteClient)
remoteClient
- the remote clientvoid close()