[Yanel-dev] Loading of users and groups as XML

Bruno von Rotz bruno.vonrotz at wyona.com
Thu Feb 11 11:31:31 CET 2010


Would the existing policyManagerResource then call/use the new 
IdentityManagerResource?
And what is the impact on the specific project time line?
Bruno
Michael Wechner schrieb:
> Hi
>
> The PolicyManager resource
>
> src/contributions/resources/policymanager/src/java/org/wyona/yanel/impl/resources/policymanager/PolicyManagerResource.java 
>
>
> is loading users and groups via the following query string
>
> /foo/bar?yanel.policy=update&get=identities
>
> which then is handled by the YanelServlet#doAccessPolicyRequest()
>
> first, but then forwarded again to the PolicyManager resource
>
> if (getXML != null && getXML.equals("identities")) {
> sb.append(getIdentitiesAndRightsAsXML(getRealm().getIdentityManager(), 
> getRealm().getPolicyManager(), get
> RequestedLanguage()));
>
> Now I would like to re-use this for editing users and groups, but it 
> seems to me that the main purpose of the policy manager
> resource is to manage policies and not users and groups and hence I 
> think we should re-factor this by introducing a IdentityManagerResource.
>
> WDYT?
>
> Thanks
>
> Michi
>
>


-- 
______________________________
Bruno von Rotz
WYONA
Hardstrasse 219 
CH-8005 Zürich 
Switzerland 
P: +41 44 272 91 61 
F: +41 44 272 91 62 
skype: wyona-switzerland
email: bruno.vonrotz at wyona.com
www.wyona.com 



More information about the Yanel-development mailing list