[Yanel-dev] Custom properties re PolicyManager users and groups data exchange

Michael Wechner michael.wechner at wyona.com
Mon Feb 1 23:15:42 CET 2010


Hi

Thanks to Guillaume

svn ci -m "allow custom properties" 
src/contributions/resources/policymanager/src/java/org/wyona/yanel/impl/resources/policymanager/PolicyManagerResource.java 

Sending        
src/contributions/resources/policymanager/src/java/org/wyona/yanel/impl/resources/policymanager/PolicyManagerResource.java
Transmitting file data .
Committed revision 47397.

one can now overwrite the PolicyManagerResource in order to transmit 
custom properties within:

T 127.0.0.1:8080 -> 127.0.0.1:49704 [AP]
  HTTP/1.1 200 OK..Server: Apache-Coyote/1.1..Content-Type: 
application/xml;charset=UTF-8..Content-Length: 1058..Date: Mon, 01 Feb 
2010 22:12:31
   GMT....<?xml version="1.0"?>.<access-control 
xmlns="http://www.wyona.org/security/1.0"><users><user 
id="lenya">Lenya</user>.</users>.<groups>
  <group id="example-group">Example Group</group>.<group 
id="example-subgroup">Example Sub-Group</group>.</groups>.<rights><right 
id="view">view
   (Inhalt anschauen/lesen)</right>.<right id="open">open (Inhalt zum 
Bearbeiten oeffnen)</right>.<right id="write">write ((Bearbeiteter) Inhalt
   abspeichern)</right>.<right id="resource.create">resource.create 
(Inhalt neu kreieren)</right>.<right id="delete">delete (Inhalt loeschen)</r
  ight>.<right id="yanel.resource.meta">yanel.resource.meta (No label 
for "yanel.resource.meta" (see org.wyona.security.impl.PolicyManagerImplVe
  rsion2))</right>.<right id="introspection">introspection 
(Introspection anschauen/lesen)</right>.<right id="toolbar">toolbar 
(Yanel Toolbar ve
  rwenden)</right>.<right id="policy.read">policy.read 
(Zugriffsberechtigungen anschauen/lesen)</right>.<right 
id="policy.update">policy.update
  (Zugriffsberechtigungen bearbeiten)</right>.</rights>.</access-control>.

whereas I am not sure yet if we should move this functionality into some 
more generic part of the security package or not,
hence please do not rely too much on it yet.

Thanks

Michi


More information about the Yanel-development mailing list