class DBService implements RolesProvider {

    DomainRoleMember getPrincipalRoles(String principal, String domainName) {
        try (ObjectStoreConnection con = store.getConnection(true, false)) {
            return con.getPrincipalRoles(principal, domainName);
        }
    }

    public  DBService(ObjectStore store, AuditLogger auditLogger, ZMSConfig zmsConfig, AuditReferenceValidator auditReferenceValidator);

}