org.eclipse.emf.emfstore.server.auth
Interface ESUserVerifier

All Known Implementing Classes:
EMFModelUserVerifier, LDAPUserVerifier, PasswordVerifier, SimplePropertyFileUserVerifier, UserVerifier, UserVerifierChain

public interface ESUserVerifier

Controller for the Authentication of users.

Since:
1.5
Author:
emueller

Method Summary
 void init(ESOrgUnitProvider orgUnitProvider)
          Initializes this verifier.
 ESAuthenticationInformation verifyUser(String username, String password, ESClientVersionInfo clientVersionInfo)
          Tries to login the given user.
 

Method Detail

verifyUser

ESAuthenticationInformation verifyUser(String username,
                                       String password,
                                       ESClientVersionInfo clientVersionInfo)
                                       throws AccessControlException
Tries to login the given user.

Parameters:
username - the user name as determined by the client
password - the password as entered by the client
clientVersionInfo - the version of the client
Returns:
an ESAuthenticationInformation instance holding information about the logged-in session. Note that the return ESAuthenticationInformation must hold an ESUser
Throws:
AccessControlException - in case the login fails

init

void init(ESOrgUnitProvider orgUnitProvider)
Initializes this verifier.

Parameters:
orgUnitProvider - the ESOrgUnitProvider that can be used to obtain organizational units


Copyright © 2016. All Rights Reserved.