     public function preauthenticate($userId, $credentials)
     \{
        # here we filter out @domain.com from login, this will allow someone to still login if they use their full email
	# this would be a good place to add an array pseudonyms => user to convert the userID from a list of pseudo:
	# $translate = array("jenifer@domain1.net" => "jenny" , "jd"=> "johndavros")
	# $userId = ( $translate[$userId] ? translate[$userId] : $userId);
        $userId = (strpos($userId, '@')? substr($userId, 0, strpos($userId, '@')) : $userId );
        return array(
                'userId' => Horde_String::lower($userId),
                'credentials' => $credentials);
     \}

