org.eclipse.emf.emfstore.internal.server.accesscontrol.authentication.verifiers
Class UserVerifier
java.lang.Object
org.eclipse.emf.emfstore.internal.server.accesscontrol.authentication.verifiers.PasswordVerifier
org.eclipse.emf.emfstore.internal.server.accesscontrol.authentication.verifiers.UserVerifier
- All Implemented Interfaces:
- ESUserVerifier
- Direct Known Subclasses:
- EMFModelUserVerifier, LDAPUserVerifier, SimplePropertyFileUserVerifier, UserVerifierChain
public abstract class UserVerifier
- extends PasswordVerifier
- Author:
- emueller
UserVerifier
public UserVerifier(ESOrgUnitProvider orgUnitProvider)
- Default constructor.
- Parameters:
orgUnitProvider
- an ESOrgUnitProvider
for finding users
verifyUser
public 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 clientpassword
- the password as entered by the clientclientVersionInfo
- the version of the client
- Returns:
- an
AuthenticationInformation
instance holding information about the
logged-in session
- Throws:
AccessControlException
- in case the login fails
Copyright © 2016. All Rights Reserved.