use of edu.stanford.bmir.protege.web.shared.dispatch.actions.GetCurrentUserInSessionResult in project webprotege by protegeproject.
the class GetCurrentUserInSessionActionHandler method execute.
@Nonnull
@Override
public GetCurrentUserInSessionResult execute(@Nonnull GetCurrentUserInSessionAction action, @Nonnull ExecutionContext executionContext) {
UserId userId = executionContext.getUserId();
UserInSession userInSession = userInSessionFactory.getUserInSession(userId);
return new GetCurrentUserInSessionResult(userInSession);
}
Aggregations