public class DummyAuthenticationProviderImpl extends Object implements AuthenticationService
null
) if the username
is not set and an authenticated user with no roles
if the username is setConstructor and Description |
---|
DummyAuthenticationProviderImpl() |
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) |
public UserInformation authenticate(CredentialsRequest request)
AuthenticationService
authenticate
in interface AuthenticationService
null
if it is a valid anonymous login.public void joinRequest(CredentialsRequest request)
joinRequest
in interface AuthenticationService
public UserInformation getUser(String user)
AuthenticationService
getUser
in interface AuthenticationService
user
- the user to get the information fornull
if the user is unknownCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.