jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@adobe.com>
Subject Re: Using rescrictions in Principal based ACL
Date Tue, 31 May 2011 15:54:44 GMT
On 31.05.11 16:23, "Angela Schreiber" <anchela@adobe.com> wrote:
>I would rather use the PrincipalManager for examples as this clarifies
>the relation between principals and access control. Retrieving the
>Principal from a given User object is of course valid... but in order
>to have a generic example it is important IMO to clarify that User
>Management isn't prerequisite for access control at all. Similarly
>an ACE might be defined for a Principal that isn't known as User to
>the repository but just exposed by the PrincipalManager (by means of
>a custom PrincipalProvider).

Good point, i was partly confused by that separation as well. I clarified
it in the example code, providing both ways and explaining why the
separation is needed.

Regards,
Alex

-- 
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel





Mime
View raw message