Search in sources :

Example 41 with CertificateAuthority

use of com.yahoo.athenz.auth.impl.CertificateAuthority in project athenz by yahoo.

the class CertificateAuthorityTest method testGetDomain.

@Test
public void testGetDomain() {
    CertificateAuthority authority = new CertificateAuthority();
    authority.initialize();
    assertNull(authority.getDomain());
}
Also used : CertificateAuthority(com.yahoo.athenz.auth.impl.CertificateAuthority) Test(org.testng.annotations.Test)

Aggregations

CertificateAuthority (com.yahoo.athenz.auth.impl.CertificateAuthority)41 Test (org.testng.annotations.Test)38 SimplePrincipal (com.yahoo.athenz.auth.impl.SimplePrincipal)34 X509Certificate (java.security.cert.X509Certificate)33 Path (java.nio.file.Path)30 ChangeLogStore (com.yahoo.athenz.zts.store.ChangeLogStore)26 DataStore (com.yahoo.athenz.zts.store.DataStore)26 MockZMSFileChangeLogStore (com.yahoo.athenz.zts.store.impl.MockZMSFileChangeLogStore)26 ZMSFileChangeLogStore (com.yahoo.athenz.zts.store.impl.ZMSFileChangeLogStore)26 X509CertRecord (com.yahoo.athenz.zts.cert.X509CertRecord)24 SignedDomain (com.yahoo.athenz.zms.SignedDomain)20 InstanceCertManager (com.yahoo.athenz.zts.cert.InstanceCertManager)19 InstanceProvider (com.yahoo.athenz.instance.provider.InstanceProvider)14 InstanceConfirmation (com.yahoo.athenz.instance.provider.InstanceConfirmation)12 HttpServletRequest (javax.servlet.http.HttpServletRequest)7 Principal (com.yahoo.athenz.auth.Principal)6 X509CertRequest (com.yahoo.athenz.zts.cert.X509CertRequest)5 CertRecordStore (com.yahoo.athenz.zts.cert.CertRecordStore)4 CertRecordStoreConnection (com.yahoo.athenz.zts.cert.CertRecordStoreConnection)4 Authority (com.yahoo.athenz.auth.Authority)3