org.eclipse.emf.emfstore.internal.server.accesscontrol.authentication.verifiers
Class EMFModelAuthenticationVerifier

java.lang.Object
  extended by org.eclipse.emf.emfstore.internal.server.accesscontrol.authentication.verifiers.AbstractAuthenticationControl
      extended by org.eclipse.emf.emfstore.internal.server.accesscontrol.authentication.verifiers.EMFModelAuthenticationVerifier
All Implemented Interfaces:
AuthenticationControl

public class EMFModelAuthenticationVerifier
extends AbstractAuthenticationControl

Author:
emueller

Constructor Summary
EMFModelAuthenticationVerifier()
           
 
Method Summary
 AuthenticationInformation logIn(ACUser resolvedUser, String username, String password, ClientVersionInfo clientVersionInfo)
          Tries to login the given user.
 
Methods inherited from class org.eclipse.emf.emfstore.internal.server.accesscontrol.authentication.verifiers.AbstractAuthenticationControl
logout
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EMFModelAuthenticationVerifier

public EMFModelAuthenticationVerifier()
Method Detail

logIn

public AuthenticationInformation logIn(ACUser resolvedUser,
                                       String username,
                                       String password,
                                       ClientVersionInfo clientVersionInfo)
                                throws AccessControlException
Tries to login the given user.

Specified by:
logIn in interface AuthenticationControl
Overrides:
logIn in class AbstractAuthenticationControl
Parameters:
resolvedUser - the user instance as resolved by the user
username - the username as determined by the client
password - the password as entered by the client
clientVersionInfo - the version of the client
Returns:
an AuthenticationInformation instance holding information about the logged-in session
Throws:
AccessControlException - in case the login fails


Copyright © 2015. All Rights Reserved.