package Cpanel::Easy::Apache::AuthnzLDAP;

# cpanel - Cpanel/Easy/Apache/AuthzLDAP.pm        Copyright(c) 2011 cPanel, Inc.
#                                                           All rights Reserved.
# copyright@cpanel.net                                         http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited

our $easyconfig = {
    'name'    => 'AuthnzLDAP',
    'skip'    => 1,
    'url'     => 'http://httpd.apache.org/docs/[% apache_uri_version %]/mod/mod_authnz_ldap.html',
    'depends' => { 'optmods' => { 'Cpanel::Easy::Apache::LDAP' => 1 }, },
    'step'    => {
        '0' => {
            'name'    => 'to config options',
            'command' => sub {
                my ($self) = @_;
                $self->add_to_configure( { '--enable-authnz-ldap' => '' } );
                return ( 1, 'Ok' );
            },
        },
    },
};

1;
