Package com.opengamma.security.user

Examples of com.opengamma.security.user.UserManager


        "john",
        "pw",
        userGroups,
        new Date());
   
    UserManager userManager = mock(UserManager.class);
    when(userManager.getUser("john")).thenReturn(user);
   
    DistributionSpecification aaplOnBloomberg = new DistributionSpecification(
        ExternalId.of("BLOOMBERG_BUID", "EQ12345"),
        StandardRules.getNoNormalization(),
        "LiveData.Bloomberg.Equity.AAPL");
View Full Code Here


  private DbConnector _dbConnector;

  //-------------------------------------------------------------------------
  @Override
  protected LiveDataEntitlementChecker initEntitlementChecker(DistributionSpecificationResolver distSpecResolver) {
    UserManager userManager = new HibernateUserManager(getDbConnector());
    return new UserEntitlementChecker(userManager, distSpecResolver);
  }
View Full Code Here

   * @param server  the server being configured, not null
   */
  protected void configureServerPlugins(ComponentRepository repo, PriorityResolvingCombiningLiveDataServer server) {
    DistributionSpecificationResolver resolver = server.getDefaultDistributionSpecificationResolver();
   
    UserManager userManager = new HibernateUserManager(getDbConnector());
    LiveDataEntitlementChecker entitlementChecker = new UserEntitlementChecker(userManager, resolver);
   
    JmsSenderFactory senderFactory = new JmsSenderFactory(getJmsConnector());
   
    server.setDistributionSpecificationResolver(resolver);
View Full Code Here

TOP

Related Classes of com.opengamma.security.user.UserManager

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.