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(java.lang.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(java.lang.String user)
user - 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