| Modifier and Type | Method and Description |
|---|---|
JobService |
authenticate(String username,
String password,
UUID protocolVersionId)
Authenticates a user.
|
JobService authenticate(String username, String password, UUID protocolVersionId) throws RemoteException, LoginException, ProtocolVersionException
username - The username identifying the user to authenticate.password - The password of the user to authenticate.protocolVersionId - The UUID indicating the protocol
expected by the client.JobService to use for this session.RemoteException - if an error occurred communicating with the remote
host.LoginException - if the user name or password are invalid.ProtocolVersionException - if the protocol expected by the client
(as indicated by protocolVersionId) is incompatible
with the protocol expected by the server.Copyright © 2016. All rights reserved.