@Test public void getAmbrySecurityServiceFactoryTest() throws Exception { ServerSecurityService serverSecurityService = new AmbryServerSecurityServiceFactory(new VerifiableProperties(new Properties()), null, null).getServerSecurityService(); Assert.assertNotNull(serverSecurityService); }
@Override public ServerSecurityService getServerSecurityService() throws InstantiationException { return new AmbryServerSecurityService(serverConfig, serverMetrics); }
AmbryServerSecurityServiceFactory implements ServerSecurityServiceFactory { @Override public ServerSecurityService getServerSecurityService() throws InstantiationException { return new AmbryServerSecurityService(serverConfig, serverMetrics); } }
AmbryServerSecurityServiceFactory implements ServerSecurityServiceFactory { @Override public ServerSecurityService getServerSecurityService() throws InstantiationException { return new AmbryServerSecurityService(serverConfig, serverMetrics); } AmbryServerSecurityServiceFactory(VerifiableProperties verifiableProperties, ServerMetrics serverMetrics,
      MetricRegistry metricRegistry); }
AmbryServerSecurityServiceFactory implements ServerSecurityServiceFactory { @Override public ServerSecurityService getServerSecurityService() throws InstantiationException { return new AmbryServerSecurityService(serverConfig, serverMetrics); } AmbryServerSecurityServiceFactory(VerifiableProperties verifiableProperties, ServerMetrics serverMetrics,
      MetricRegistry metricRegistry); @Override ServerSecurityService getServerSecurityService(); }
AmbryServerSecurityServiceFactory implements ServerSecurityServiceFactory { @Override public ServerSecurityService getServerSecurityService() throws InstantiationException { return new AmbryServerSecurityService(serverConfig, serverMetrics); } AmbryServerSecurityServiceFactory(VerifiableProperties verifiableProperties, ServerMetrics serverMetrics,
      MetricRegistry metricRegistry); @Override ServerSecurityService getServerSecurityService();  }