Package org.jresearch.flexess.client.context

Examples of org.jresearch.flexess.client.context.IUserContext


  private IUserManager userManager;
  private IAppService applicationService;
  private ISecurityContainerFactory securityContainerFactory;

  protected IUserContext getUserContext() {
    IUserContext context = UserContextManager.getContext();
    if (!context.isValid()) {
      context = updateUserContext(context);
    }
    return context;
  }
View Full Code Here


    }
    return context;
  }

  protected SecurityModel getSecurityModel(final String modelId) throws UamClientException {
    final IUserContext ctx = getUserContext();
    return (SecurityModel) ctx.getSecurityModel(modelId);
  }
View Full Code Here

    this.checker = checker;
  }

  private List<EObject> getRoles(final String modelId) {
    assert modelId != null;
    final IUserContext ctx = getUserContext();
    return ctx.getRoles(modelId);
  }
View Full Code Here

    checkClassRequest(modelId, request.getAttributeMap(), objectClass, operation);
  }

  @Override
  public Collection<String> getModelIdList() {
    final IUserContext ctx = getUserContext();
    return ctx.getModelIds();
  }
View Full Code Here

TOP

Related Classes of org.jresearch.flexess.client.context.IUserContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.