[Yanel-dev] Re: Access Control User Interface

Michael Wechner michael.wechner at wyona.com
Wed Jan 31 11:19:10 CET 2007


Paloma Gomez wrote:

>>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?
>>    
>>
>
>org.wyona.security.core.api.Identity
>  
>

there also groups. I think only the IP resp. IP-ranges are missing.

I think what is missing is that the groups are currently not being set 
resp. read from the identities
"files".

Or do I misunderstand something?

Cheers

Michi

>Regards,
>Paloma
>
>  
>
>>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
>>
>>
>>_______________________________________________
>>Yanel-development mailing list
>>Yanel-development at wyona.com
>>http://wyona.com/cgi-bin/mailman/listinfo/yanel-development
>>
>>
>>    
>>
>
>
>_______________________________________________
>Yanel-development mailing list
>Yanel-development at wyona.com
>http://wyona.com/cgi-bin/mailman/listinfo/yanel-development
>
>  
>


-- 
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