Hi Michael,<div>I'd go for a backwards compatible approach: maybe there is a possibility to extend the current YarepUser class with a new one (YarepUserV2) like you do it when you extend it for realm specific user properties.</div>
<div><br></div><div>Cheers</div><div>Balz<br><br><div title="signature"> </div><div class="gmail_quote">On Thu, Mar 22, 2012 at 1:45 PM, Michael Wechner <span dir="ltr"><<a href="mailto:michael.wechner@wyona.com">michael.wechner@wyona.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
<br>
Currently the interface<br>
<br>
org/wyona/security/core/api/<u></u>User<br>
<br>
only supports<br>
<br>
org/wyona/security/core/api/<u></u>User#getName() (inherited from org/wyona/security/core/api/<u></u>Item).<br>
<br>
which is also supported by<br>
<br>
src/core/java/org/wyona/<u></u>security/core/api/Group<br>
<br>
because it also inherits the Item class.<br>
<br>
>From a User class point of view this is not really good, because one would expect<br>
<br>
getFirstname()<br>
getLastname()<br>
<br>
Also it would be nice to set "custom" properties (String and Binary/Streams)<br>
<br>
setProperty(String name)<br>
getProperty(String name)<br>
<br>
etc.<br>
<br>
Hence I would like to enhance the API, but this means that all implementations based on this API will break.<br>
As an alternative one could introduce a new version of this API, which would make it completely backwards compatible,<br>
but more complicated.<br>
<br>
WDYT?<br>
<br>
Thanks<span class="HOEnZb"><font color="#888888"><br>
<br>
Michael<br>
-- <br>
Yanel-development mailing list <a href="mailto:Yanel-development@wyona.com" target="_blank">Yanel-development@wyona.com</a><br>
<a href="http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development" target="_blank">http://lists.wyona.org/cgi-<u></u>bin/mailman/listinfo/yanel-<u></u>development</a><br>
</font></span></blockquote></div><br></div>