On 10 Dec 2009, at 13:08, Felix Meschberger wrote: >> 1. >> Would it be acceptable to add some of these properties back into the >> AuthorizableValueMap so that the response become useful ? >> >> eg >> >> rep:principalName >> rep:userId >> rep:referees >> rep:groups >> rep:impersonators > > I could well imagine that Sling could be extended to still return these > as part of its AuthorizableResource ValueMap as. Where rep:userId would > probably be just rep:id and another (boolean) property rep:isGroup would > be added to represent the authorizable as a group instead of a user. > > of course returning a rep:password property does not make any sense (as > you said).
Looking at AuthorizableValueMap, this looks like a small patch. in read() and readFully(), I will work up a patch and push to jira. Ian