public class UserPaswordAuthenticatorClient extends DefaultServiceCaller
busResourceURI, owner, theBus
Constructor and Description |
---|
UserPaswordAuthenticatorClient(ModuleContext mc)
Constructor
|
Modifier and Type | Method and Description |
---|---|
User |
authenticate(String username,
String password)
This method will try to authenticate the user.
|
communicationChannelBroken, handleResponse
addAvailabilitySubscription, busDyingOut, call, call, getAllServices, getMatchingService, getMatchingService, getMatchingService, getMyID, handleReply, inject, inject, removeAvailabilitySubscription, sendCall, sendCall, sendRequest
close, getComment, getLabel, getType, getURI, setComment, setLabel
public UserPaswordAuthenticatorClient(ModuleContext mc)
public User authenticate(String username, String password)
username
- the username to authenticatepassword
- the password to use for the authentication.User
instance if successful authentication, null
otherwise.Copyright © 2018 universAAL Consortium. All rights reserved.