|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AccessControl
Access control combining authentication and authorization.
| Method Summary | |
|---|---|
AuthenticationInformation |
logIn(String username,
String password,
ClientVersionInfo clientVersionInfo)
Log in with the given credentials. |
void |
logout(SessionId sessionId)
Log out the session with the given ID. |
void |
setAuthenticationControl(AbstractAuthenticationControl modelAuthenticationControl)
Sets the authentication control to be used. |
| Methods inherited from interface org.eclipse.emf.emfstore.internal.server.accesscontrol.AuthorizationControl |
|---|
checkAccess, checkProjectAdminAccess, checkProjectAdminAccess, checkProjectAdminAccessForOrgUnit, checkProjectAdminAccessForOrgUnit, checkReadAccess, checkServerAdminAccess, checkSession, checkWriteAccess, resolveSessionById, resolveUser, resolveUser |
| Method Detail |
|---|
AuthenticationInformation logIn(String username,
String password,
ClientVersionInfo clientVersionInfo)
throws AccessControlException
username - the username as entered by the clientpassword - the password as entered by the clientclientVersionInfo - the version of the client
AuthenticationInformation holding information
about the logged-in session
AccessControlException - in case an error occurs during the login
void logout(SessionId sessionId)
throws AccessControlException
sessionId - the ID of the session to be logged out
AccessControlException - in case logout failsvoid setAuthenticationControl(AbstractAuthenticationControl modelAuthenticationControl)
modelAuthenticationControl - the authentication control to be used
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||