Slaven Rezić > WE_Framework-0.097_03 > WE::Util::Htgroup

Download:
WE_Framework-0.097_03.tar.gz

Dependencies

Annotate this POD

Module Version: 1.05   Source  

NAME ^

WE::Util::Htgroup - create apache AuthGroupFile files from a user database

SYNOPSIS ^

    use WE::Util::Htgroup;
    WE::Util::Htgroup::create("/var/www/.group", $complex_user_db);

DESCRIPTION ^

Create apache AuthGroupFile files from a WE_Framework user database.

FUNCTIONS

create($dest_file, $user_db, %args);

Create the $dest_file from the (complex) user database object $user_db.

invalid_chars

Return a string of invalid characters for group names. This is handy for using in ComplexUser:

    new WE::DB::ComplexUser(..., ...,
                            -crypt => "none",
                            -invalidchars => WE::Util::Htpasswd::invalid_chars(),
                            -invalidgroupchars => WE::Util::Htgroup::invalid_chars())

AUTHOR ^

Slaven Rezic - slaven@rezic.de

SEE ALSO ^

htpasswd(1), WE::DB::ComplexUser, WE::Util::Htaccess, WE::Util::Htpasswd.

syntax highlighting: