Folks,

I've implemented a generic ServiceRegistryDao based on the definition
in a JSON file. It also adds the possibility to define and add any
number of nested 'extra attributes' per-service in a "schemaless"
fashion i.e. Map<String, Object>. The implementation un-marshals the
JSON structure into a list a RegisteredServiceWithAttributes (<-
extension) and stores it in "InMemoryServiceRegistryDaoImpl". It's not
durable at the moment, but later on could be made so, by storing
instances in MongoDB, for example. The implementation is a
Groovy-based, as the dynamic nature of Groovy makes it possible and
very easy.

If anyone is interested - I could share more details and possibly the code.

Note: this is done in the context of a couple of current CAS
customization engagements that Unicon is working on.

Cheers,
Dmitriy.

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to