DJabberd-Authen-DBI

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

                user    foo
                pass    bar
                query   SELECT * FROM user WHERE login=? AND password=?
                args    login,password
            </Plugin>
        </VHost>

DESCRIPTION
    This module implements the "check_cleartext" method of the Authen module
    in DJabberd. Your database schema should support checking the
    credentials in one query.

CONFIGURATION
    The following keys are used in the configuration.

    dsn This is the DBI data source string, first parameter to DBI->connect.
        This option is mandatory.

    user
        The database user name, second parameter to DBI->connect.

lib/DJabberd/Authen/DBI.pm  view on Meta::CPAN

            pass    bar
            query   SELECT * FROM user WHERE login=? AND password=?
            args    login,password
        </Plugin>
    </VHost>

=head1 DESCRIPTION

This module implements the "check_cleartext" method of the Authen
module in DJabberd. Your database schema should support checking the
credentials in one query.

=head1 CONFIGURATION

The following keys are used in the configuration.

=over

=item dsn

This is the DBI data source string, first parameter to



( run in 0.250 second using v1.01-cache-2.11-cpan-fd5d4e115d8 )