summaryrefslogtreecommitdiffstats
path: root/library/X509/SniIniRepository.php
blob: 432494ba6b8bed0e026ad3d97f193a1011fd935a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

// Icinga Web 2 X.509 Module | (c) 2018 Icinga GmbH | GPLv2

namespace Icinga\Module\X509;

use Icinga\Repository\IniRepository;

/**
 * Collection of hostnames stored in the sni.ini file
 */
class SniIniRepository extends IniRepository
{
    protected $queryColumns = array('sni' => array('ip', 'hostnames'));

    protected $configs = array('sni' => array(
        'module'    => 'x509',
        'name'      => 'sni',
        'keyColumn' => 'ip'
    ));
}