| Monday 17 July 2006 2:18:26 pm 
                                                                 You have to write you own authentication handler: 1. Edit [Exponential root dir]/settings/site.ini 2. Look for 'LoginHandler[]' and change the value 'standard' to 'soap' 3. go to [Exponential root dir]/kernel/classes/datatypes/ezuser/ 4. create a file there 'ezsoapuser.php' 5. Start with: 
class eZSOAPUser extends eZUser
{
    function eZSOAPUser()
    {
    }
    function &loginUser( $login, $password, $authenticationMatch = false )
    {
         // your custom code to access the web service
    }
}
6. make sure that your custom loginUser function returns an 'eZUser'. That also means that the user has to exist in your Exponential installation (and not only exists for the web service you're accessing) 7. Once it is working for you I suggest that you move your code to an eZ extension. That is much more cleaner. Hope that gives you an idea how to solve your problem. Post a reply in case you would need more help, regards http://www.mugo.caMugo Web, eZ Partner in Vancouver, Canada
 |