public interface AuthenticationService
The service needs to ensure that the information provided identifies a valid user.
Modifier and Type | Method and Description |
---|---|
UserInformation |
authenticate(CredentialsRequest request)
Authenticate a user based on credentials
|
UserInformation |
getUser(String user)
The the user information of the named user
|
void |
joinRequest(CredentialsRequest request) |
UserInformation authenticate(CredentialsRequest request) throws AuthenticationException
null
if it is a valid anonymous login.AuthenticationException
- in the case the login is invalid (e.g. username and
password don't match)void joinRequest(CredentialsRequest request)
UserInformation getUser(String user)
user
- the user to get the information fornull
if the user is unknownCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.