Re: Re: Liveruser with extended PEAR::Auth classes

From: Date: Tue, 30 Aug 2005 10:59:24 +0000
Subject: Re: Re: Liveruser with extended PEAR::Auth classes
References: 1 2 3 4 5  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20664@lists.php.net to get a copy of this message
Jeroen Houben wrote:
$servers = array(); $servers[0] = array('example.com', null, 'string', 10, 3); $PEARAuth_options = array("servers"=>$servers, "authtype"=>'PAP'); $LUOptions = array( 'login' => array(
       'force'    => true
    ),
'logout' => array(
       'destroy'  => true,
    ),
'authContainers' => array(
       'radius' => array(
           'type'         => 'PEARAuth',
           'pearAuthContainer' => "RADIUS",
           'pearAuthOptions'   => $PEARAuth_options
       ),
), 'permContainer' => array(
       'type' => 'Medium',
       'storage' => array(
           'DB' => array(
               'dsn' => $dsn,
               'prefix' => 'lu_',
           )
        ),
), ); Can you spot anything wrong with this?
looks right ...
Sure, that makes sense. So the user will get authenticated and logged in if he's not present in perm_users, he just won't have any permissions, right?
Yeah.

« previous php.pear.general (#20664) next »