org.eclipse.emf.emfstore.internal.server.model.impl.api
Class ESAuthenticationInformationImpl

java.lang.Object
  extended by org.eclipse.emf.emfstore.internal.common.api.AbstractAPIImpl<ESAuthenticationInformation,AuthenticationInformation>
      extended by org.eclipse.emf.emfstore.internal.server.model.impl.api.ESAuthenticationInformationImpl
All Implemented Interfaces:
InternalAPIDelegator<ESAuthenticationInformation,AuthenticationInformation>, ESAuthenticationInformation

public class ESAuthenticationInformationImpl
extends AbstractAPIImpl<ESAuthenticationInformation,AuthenticationInformation>
implements ESAuthenticationInformation

Mapping between ESAuthenticationInformation and AuthenticationInformation.

Author:
emueller

Constructor Summary
ESAuthenticationInformationImpl(AuthenticationInformation authInfo)
          Constructor.
 
Method Summary
 ESUser getUser()
          Returns the authenticated user.
 void setUser(ESUser user)
          Sets the authenticated user.
 
Methods inherited from class org.eclipse.emf.emfstore.internal.common.api.AbstractAPIImpl
equals, hashCode, toInternalAPI
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ESAuthenticationInformationImpl

public ESAuthenticationInformationImpl(AuthenticationInformation authInfo)
Constructor.

Parameters:
authInfo - the internal representation of an authentication information
Method Detail

getUser

public ESUser getUser()
Returns the authenticated user.

Specified by:
getUser in interface ESAuthenticationInformation
Returns:
the authenticated user
See Also:
ESAuthenticationInformation.getUser()

setUser

public void setUser(ESUser user)
Sets the authenticated user.

Specified by:
setUser in interface ESAuthenticationInformation
Parameters:
user - the authenticated user
See Also:
ESAuthenticationInformation.setUser(org.eclipse.emf.emfstore.server.model.ESUser)


Copyright © 2016. All Rights Reserved.