[Yanel-dev] package private method in YarepUser

basZero baszero at gmail.com
Wed Sep 28 16:57:03 CEST 2011


>
>
>  it's just a bit dangerous, because somebody still might call the remove()
> on the userobject (maybe yanel internal code) and use the "wrong" remove
> method.
>
>
> I am not sure I understand. Can you explain a bit?
>
>

ok let's say that my realm's code is only using the removeAlias method via
retrieving the usermanager and then call the remove method. all is fine.

but how can I be sure that nobody retrieves the user object via usermanager
and calls the removeAlias method on the user object? If these two
removeAlias() methods behave differently, it's "dangerous" that something
unexpected happens.

Cheers
Balz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wyona.org/pipermail/yanel-development/attachments/20110928/8c77c499/attachment.html>


More information about the Yanel-development mailing list