Search in sources :

Example 1 with ServerSecurityService

use of com.github.ambry.rest.ServerSecurityService in project ambry by linkedin.

the class AmbryServerSecurityServiceFactoryTest method getAmbrySecurityServiceFactoryTest.

/**
 * Tests intantiation of {@link AmbryServerSecurityServiceFactory}.
 * @throws Exception
 */
@Test
public void getAmbrySecurityServiceFactoryTest() throws Exception {
    ServerSecurityService serverSecurityService = new AmbryServerSecurityServiceFactory(new VerifiableProperties(new Properties()), null, null).getServerSecurityService();
    Assert.assertNotNull(serverSecurityService);
}
Also used : VerifiableProperties(com.github.ambry.config.VerifiableProperties) Properties(java.util.Properties) VerifiableProperties(com.github.ambry.config.VerifiableProperties) ServerSecurityService(com.github.ambry.rest.ServerSecurityService) Test(org.junit.Test)

Aggregations

VerifiableProperties (com.github.ambry.config.VerifiableProperties)1 ServerSecurityService (com.github.ambry.rest.ServerSecurityService)1 Properties (java.util.Properties)1 Test (org.junit.Test)1