
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, handleResponseaddAvailabilitySubscription, busDyingOut, call, call, getAllServices, getMatchingService, getMatchingService, getMatchingService, getMyID, handleReply, inject, inject, removeAvailabilitySubscription, sendCall, sendCall, sendRequestclose, getComment, getLabel, getType, getURI, setComment, setLabelpublic 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.