We currently have a group of web-services exposing interfaces to a variety of different client types and roles.
Background:
The web-service application code is (and will stay) written in a weakly typed dynamic language.
Authentication is handled seperately, this post is about Authorisation.
All operations exposed by the web-services are stateless.
The web-services talk both SOAP and REST(JSON).
I'm definitely not interested in starting a discussion about the merits of either approach.
Question:
I'd like to implement a scheme to declaratively define simultaneously
I'd like to have the declarations either inline with the interface definitions (say as method attributes), or externally defined (say via YAML files), but not managed dynamically in the database.
Does any such implementation already exist for (any) weakly typed dynamic language? Are there wholly external implementations we could build apon?
Gah, getting nowhere at all on this topic... re-asking with specifics that I can already predict will confuse matters :-(