private IUserManager userManager;
private IAppService applicationService;
private ISecurityContainerFactory securityContainerFactory;
protected IUserContext getUserContext() {
IUserContext context = UserContextManager.getContext();
if (!context.isValid()) {
context = updateUserContext(context);
}
return context;
}