Bishal Acharya wrote:
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.
If you use restful_authentication then you can authenticate against any
number of different users. Implement a role-based system on top of it
with the appropriate filters in the RESTful controllers, and you're set