[Yanel-dev] User Properties / IML

Michael Wechner michael.wechner at wyona.com
Wed Oct 31 22:17:03 CET 2007


Michael Wechner wrote:

>
>>>>
>>>>
>>>> We'd thus like to extend the current IML like this:
>>>>
>>>> <identity id="foo" xmlns="http://www.wyona.org/security/1.0">
>>>>   <name>Foo Account</name>
>>>>   <description>Bars</description>
>>>>   <email>foo at bar.com</email>
>>>>   <password type="md5">xxx</password>
>>>>
>>>>   <expire date="2007-12-24T00:00:00"/>
>>>>   <hompage>/en/topics/dashboard.html</homepage>
>>>>   <lastLogin date="2007-10-26T16:34:22"/>
>>>>
>>>>   <custom:properties xmlns:custom="http://www.foobar.com/yanel/  
>>>> security/1.0">
>>>>     <custom:locked>false</custom:lock>
>>>>     <custom:failedLogins>7</custom:failedLogins>
>>>>     <custom:welcomePage>/en/global/motd.html</custom:welcomePage>
>>>>   </custom:properties>
>>>> </identity>
>>>
>>>
>>>
>>>
>>> sounds good to me, whereas I guess it would make sense to implement  
>>> this within the API whereas a DOM would be returned.
>>
>>
>>
>> Yes, a custom implementation can interpret the data in the DOM block.
>
>
>
> so the API would like
>
>
> Document User.getCustomConfiguration()
> void User.setCustomConfiguration(Document config)


After giving it some more thought I think we don't actual need this.

Because one can always implement/extend the User class with a custom 
User class and cast it within custom objects, such as a custom Identity- 
resp. UserManager or custom Yanel resources.

WDYT?

Cheers

Michi

>
> WDYT?
>
> Michi
>
>>
>> Cheers,
>> -ok
>>
>> -- 
>> ncode solutions gmbh
>> http://www.ncode.ch
>>
>> tel +41 43 817 01 88
>> fax +41 43 817 02 88
>> Zurich / Switzerland
>>
>>
>> _______________________________________________
>> Yanel-development mailing list
>> Yanel-development at wyona.com
>> http://lists.wyona.org/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