public interface AuthService extends ServiceBase
| Modifier and Type | Method and Description |
|---|---|
SessionId |
login(StatelessClientContext context,
String user,
char[] password)
Logs in the client with the given context, provided the given
credentials are acceptable.
|
void |
logout(ClientContext context)
Logs out the client with the given context.
|
SessionId login(StatelessClientContext context, String user, char[] password) throws RemoteException
context - The context.user - The user name.password - The password. Upon return, its contents are
cleared (on the server) by overwriting all prior characters
with the nul ('\0') character.RemoteException - Thrown if the operation cannot be
completed.void logout(ClientContext context) throws RemoteException
context - The context.RemoteException - Thrown if the operation cannot be
completed.Copyright © 2015. All Rights Reserved.