Swami Kevala
2008-03-30 07:47:35 UTC
Can anybody tell me how I specify the user authentication details when I do
rpc calls.
I thought I could use the url:
http://username:***@localhost:8080/exist/xmlrpc
but this is not working for me
(I am working on a Flex app that needs to retrieve xml data from and eXist
database. I am using
http://danielmclaren.net/2007/08/03/xmlrpc-for-actionscript-30-free-library#comment-869
this actionscript 3.0 xmlrpc library
Currently, I can only do anything if the username is admin and the password
is blank
In the Developer's Guide (XML-RPC section), for a complete list of available
methods it refers to the Java interface
http://exist.sourceforge.net/api/org/exist/xmlrpc/RpcAPI.html RpcAPI.java .
All the methods here, take a User (Java) object as their first parameter.
I'm assuming that if the user passed to the xml-rcp method call doesn't have
the necessary permissions to execute the remote procedure then a
permissiondeniedexception will be thrown - but how do I create this User
object in Actionscript and pass it as an xml-rcp parameter?
Kind Regards
Swami Kevala
rpc calls.
I thought I could use the url:
http://username:***@localhost:8080/exist/xmlrpc
but this is not working for me
(I am working on a Flex app that needs to retrieve xml data from and eXist
database. I am using
http://danielmclaren.net/2007/08/03/xmlrpc-for-actionscript-30-free-library#comment-869
this actionscript 3.0 xmlrpc library
Currently, I can only do anything if the username is admin and the password
is blank
In the Developer's Guide (XML-RPC section), for a complete list of available
methods it refers to the Java interface
http://exist.sourceforge.net/api/org/exist/xmlrpc/RpcAPI.html RpcAPI.java .
All the methods here, take a User (Java) object as their first parameter.
I'm assuming that if the user passed to the xml-rcp method call doesn't have
the necessary permissions to execute the remote procedure then a
permissiondeniedexception will be thrown - but how do I create this User
object in Actionscript and pass it as an xml-rcp parameter?
Kind Regards
Swami Kevala
--
View this message in context: http://www.nabble.com/authenticate-user-with-xmlrpc-tp16372702p16372702.html
Sent from the exist-open mailing list archive at Nabble.com.
View this message in context: http://www.nabble.com/authenticate-user-with-xmlrpc-tp16372702p16372702.html
Sent from the exist-open mailing list archive at Nabble.com.