public class DummyAuthenticationProviderImpl extends java.lang.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(java.lang.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(java.lang.String user)
AuthenticationServicegetUser in interface AuthenticationServiceuser - the user to get the information fornull if the user is unknown
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0