|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.emfstore.internal.server.accesscontrol.authentication.verifiers.AbstractAuthenticationControl
public abstract class AbstractAuthenticationControl
Abstract class for authentication.
Constructor Summary | |
---|---|
AbstractAuthenticationControl()
Default constructor. |
Method Summary | |
---|---|
AuthenticationInformation |
logIn(ACUser resolvedUser,
String username,
String password,
ClientVersionInfo clientVersionInfo)
Tries to login the given user. |
void |
logout(SessionId sessionId)
Logout/delete a session on the server. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractAuthenticationControl()
Method Detail |
---|
public AuthenticationInformation logIn(ACUser resolvedUser, String username, String password, ClientVersionInfo clientVersionInfo) throws AccessControlException
logIn
in interface AuthenticationControl
resolvedUser
- the user instance as resolved by the userusername
- the username as determined by the clientpassword
- the password as entered by the clientclientVersionInfo
- the version of the client
AuthenticationInformation
instance holding information about the
logged-in session
AccessControlException
- in case the login failspublic void logout(SessionId sessionId) throws AccessControlException
logout
in interface AuthenticationControl
sessionId
- the id of the session to be logout
AccessControlException
- in case of failure on server
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |