[Yanel-dev] Re: Access Control User Interface
Michael Wechner
michael.wechner at wyona.com
Wed Jan 31 09:33:18 CET 2007
Paloma Gomez wrote:
>
>>I think that the Identity is some kind of abstraction of the following
>>items:
>>- user
>>- machine
>>- ip range
>>- world
>>So maybe we could keep Identity.java as a super-class or an interface.
>>But I'm not sure which methods to put into Identity.java.
>>
>>
>
>Currently, Identity.java just holds a username and an array containing
>groups and provides getter methods for retrieving them.
>
the identity is a container for
user
machine/ip-range
world
group
resp. identifiying a session so to speak. Instead of passing around all
the types mentioned above one
just has to pass around the identity which I think makes a lot of sense ;-)
> If we want it to
>represent any kind of item, we should change the current implementation
>since it just considers users.
>
which implementation?
Cheers
Michi
--
Michael Wechner
Wyona - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
michael.wechner at wyona.com michi at apache.org
+41 44 272 91 61
More information about the Yanel-development
mailing list