Thanks for the response.
I have been able to do http authentication by crateing a base resource
but my requirements are such that I cannot make a base resource
containing the site crediantials rather I have to dynamically assign the
crediantials according to the users authentication.......Can you suggest
me how to do that ? I have to access the server resources by a remote
client using activeresource but the remote client too has a client which
provides crediantials to remote client instead to the server now If i
create a static base resource in the remote client, I can only deal with
one user i guess but condition demands me to make this process dynamic ?
anu suggestions will be helpful.
AndyV wrote:> Use HTTP Basic authentication on the server providing the
> ActiveResources. You can set the credentials for accessing via HTTP
> Basic in ActiveResource. Ideally you''ll probably create a
''base''
> resource that has the credentials and site info and then inherit from
> that for the rest of your ARes classes.
>
> HTH,
> AndyV
>
> On Jul 29, 1:17�am, Bishal Acharya <rails-mailing-l...@andreas-s.net>
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---