It is not clear from your description how this is supposed to work. So a 
use uploads the xml and receives an xml response. presumably this is done 
by a problem not by a user+browser. So how does the server maintain state? 
cookies?

On Thursday, 26 September 2013 07:08:35 UTC-5, Alan wrote:
>
> Hi,
>
> can auth handle authentication with a true or false reponse returned via 
> an xml file?
>
> i need to use httplib2 to submit the username and password in an xml file 
> and the response will be an xml file that among other things will have: 
> <CredentialsValid>false</CredentialsValid> for incorrect password and true 
> if ok, anything else is a server connection error. There will also be a 
> customerid returned that is unique to the email address, but no session 
> information.
>
> I'd like to use built in auth, but not sure which auth file to use as a 
> basis for building one up. I dont want to store any passwords in web2py.
>
> i also need to alter the registration and password reset so that i can 
> again use httplib2 to make the call to the 3rd party.
>
> hope this makes sense. An example of how to make auth use a function would 
> be most appreciated if possible.
>
>
> Thanks,
>
> Alan
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to