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 set| Constructor 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)
AuthenticationServiceauthenticate in interface AuthenticationServicenull if it is a valid anonymous login.public void joinRequest(CredentialsRequest request)
joinRequest in interface AuthenticationServicepublic UserInformation getUser(String user)
AuthenticationServicegetUser in interface AuthenticationServiceuser - the user to get the information fornull if the user is unknownCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.