Clarence,
Thanks. Yes, I am familiar with the tools to which you refer.
I think my confusion in this area relates to my limited experience
with deployment. In particular, I am grappling with the idea of a
"front-end", say in Rails, that interacts with services, say,
implemented like Paul describes, in a secure environment. Beside the
firewall, Paul discusses other approaches to ensuring only authorized
users access services -- an RBAC service. What's new to me is the idea
that a security service is separate from the application server(?) For
example, I have implemented a module Paul mentions, Authlogic, in my
Rails applications -- but it is involved in the same set of
controllers that responds to user requests for other resources. I
guess I need to eliminate the notion that when building any service,
the mechanism for securing it should be contemplate as inhering in its
server. Rather, it seems, I should expect to implement authentication
services later, when I know the setting for my service, e.g., in a SOA
architecture.
G
On Aug 8, 7:33 pm, Clarence Bakirtzidis <
claren...@gmail.com> wrote:
> Assuming each service has a test suite to test itself in isolation you could
> then use a HTTP mocking library like WebMock (
https://github.com/bblimke/webmock) or FakeWeb to assert the correct HTTP
> interactions with the module services in the Rails app via your client
> library. For real integration testing though, you'd need to start the
> module services first and then run your integration tests (e.g. using
> Cucumber or RSpec and Capybara/Selenium to drive the rails app) and then
> assert expected results in the Rails app.
>
> Not sure if this is what you were after but hope it helps.
>
> Regards,
> Clarence.
>