[Yanel-dev] Making the PolicyManager aware of realm specific
usecases
Michael Wechner
michael.wechner at wyona.com
Thu Dec 10 23:45:15 CET 2009
Hi
We don't have a generic usecase registry yet and I guess it will take
some more time to get there.
As an intermediate solution I would like to enhance the current
PolicyManagerImplV2 that it can read some specific XML config as
described below
from-scratch-realm-template michaelwechner$ svn diff realm.xml
Index: realm.xml
===================================================================
--- realm.xml (revision 45915)
+++ realm.xml (working copy)
@@ -11,6 +11,16 @@
<ac-policies
class="org.wyona.security.impl.PolicyManagerFactoryImplVersion2">config/ac-policies-repository.xml</ac-policies>
+<!-- NOTE: Not implemented yet! But as a proposal to make the
PolicyManager aware of realm specific usecases.
+ <ac-policies
class="org.wyona.security.impl.PolicyManagerFactoryImplVersion2">
+ <security:config
xmlns:security="http//www.wyona.org/security/policy/2.1">config/ac-policies-repository.xml</security:config>
+ <security:usecases
xmlns:security="http//www.wyona.org/security/policy/2.1">
+ <security:usecase>workflow.approve</security:usecase>
+ <security:usecase>workflow.publish</security:usecase>
+ </security:usecases>
+ </ac-policies>
+-->
This will have no effect on interfaces and is backwards compatible (but
not forwards) and will give us some playing ground to better understand
how we need to design a generic usecase registry.
Any comments/feedback very welcome
Cheers
Michi
More information about the Yanel-development
mailing list