[OTDev] Nested URIs in policies

Andreas Maunz andreas at maunz.de
Thu Feb 10 16:19:10 CET 2011


Hi all,

you can now have wildcards in resources to be protected by policies as 
follows (cf. Opentox API 1.x):

/dataset/-*-/feature/-*-
/dataset/-*-/compound/-*-
/dataset/-*-/compound/-*-/conformer/-*-
/model/-*-/predicted
/model/-*-/independent
/model/-*-/dependent

Everything is implemented via simple substring matching on the "path" 
part of the URI, after the hostname.
Therefore, it is possible to have these patterns also further down the 
hierarchy, e.g.

/path/to/model/-*-/dependent

will also work.

Guidance doc has been updated:
http://www.opentox.org/dev/documentation/Guidance%20on%20Using%20AA

Regards
Andreas



More information about the Development mailing list