[Yanel-dev] package private method in YarepUser

Michael Wechner michael.wechner at wyona.com
Tue Sep 27 22:09:09 CEST 2011


Hi Balz

Am 27.09.11 17:12, schrieb basZero:
> Hi Michael,
>
> often you extend the YarepUser class by using inheritance and of 
> course the realm specific user class is in another package.
>
> because the following method has visibility "package private", it is 
> impossible to overwrite it, nor it is possible to call it.
>
> void removeAlias(String id) throws AccessManagementException;
>
> Can you make this method protected please?

can you explain a bit why you want to overwrite this method? Just trying 
to understand
and maybe we can find an alternative (maybe better) approach.

What is the reason that you don't need YarepUser#addAlias(String) as 
protected?

Thanks

Michael

>
> Thanks.
> Cheers
> Balz
>
>
> *Balz Schreier*
> Zwischengas AG
> CTO / Fotograf
>
> Kürzlich publizierter Highlight: Arosa ClassicCar 2011 
> <http://www.zwischengas.com/de/HR/rennberichte/Arosa-ClassicCar-2011-Sonne-Freude-Geschwindigkeit.html>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wyona.org/pipermail/yanel-development/attachments/20110927/6dd4847e/attachment.html>


More information about the Yanel-development mailing list