Maybe you need some other cleanup tasks when somebody calls the removeAlias() method, that was my main purpose.<div><br></div><div>Also, as of the comments in the YarepUser, the future version of removeAlias() will check at the end, whether there are no aliases at all after removal and if so, it would delete the user.</div>
<div>MAYBE, some realms do not want that behaviour so that would be another reason in future why to overwrite the method.</div><div><br></div><div>Cheers</div><div>Balz<br><br><div title="signature"><p><span style="color: #808080; font-family: 'andale mono', times; font-size: small;"><strong>Balz Schreier</strong></span><br>
<span style="color: #999999; font-family: 'andale mono', times; font-size: small;"><span style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px;"><span style="color: #999999; font-family: 'andale mono', times; font-size: small;">Zwischengas AG</span><br>
</span>CTO / Fotograf</span><span style="color: #999999; font-family: 'andale mono', times; font-size: small;"> <br><br><span style="font-size: x-small; font-family: 'andale mono', times;">Kürzlich publizierter Highlight: <a href="http://www.zwischengas.com/de/HR/rennberichte/Arosa-ClassicCar-2011-Sonne-Freude-Geschwindigkeit.html">Arosa ClassicCar 2011</a></span></span></p>
</div><div class="gmail_quote">On Tue, Sep 27, 2011 at 10:09 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;">

  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi Balz<br>
    <br>
    Am 27.09.11 17:12, schrieb basZero:
    <div class="im"><blockquote type="cite">Hi Michael,
      <div><br>
      </div>
      <div>often you extend the YarepUser class by using inheritance and
        of course the realm specific user class is in another package.</div>
      <div><br>
      </div>
      <div>because the following method has visibility "package
        private", it is impossible to overwrite it, nor it is possible
        to call it.</div>
      <div><span><br>
        </span></div>
      <div><span>void</span> removeAlias(String id) <span>throws</span> AccessManagementException;</div>
      <div><br>
      </div>
      <div>Can you make this method protected please?</div>
    </blockquote>
    <br></div>
    can you explain a bit why you want to overwrite this method? Just
    trying to understand<br>
    and maybe we can find an alternative (maybe better) approach.<br>
    <br>
    What is the reason that you don't need YarepUser#addAlias(String) as
    protected?<br>
    <br>
    Thanks<br><font color="#888888">
    <br>
    Michael</font><div class="im"><br>
    <br>
    <blockquote type="cite">
      <div><br>
      </div>
      <div>Thanks.</div>
      <div>Cheers</div>
      <div>Balz</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>
        <div title="signature">
          <p><span style="color:#808080;font-family:'andale mono', times;font-size:small"><strong>Balz Schreier</strong></span><br>
            <span style="color:#999999;font-family:'andale mono', times;font-size:small"><span style="color:#000000;font-family:Verdana, Arial, Helvetica, sans-serif;font-size:10px"><span style="color:#999999;font-family:'andale mono', times;font-size:small">Zwischengas
                  AG</span><br>
              </span>CTO / Fotograf</span><span style="color:#999999;font-family:'andale mono', times;font-size:small"> <br>
              <br>
              <span style="font-size:x-small;font-family:'andale mono', times">Kürzlich publizierter Highlight: <a href="http://www.zwischengas.com/de/HR/rennberichte/Arosa-ClassicCar-2011-Sonne-Freude-Geschwindigkeit.html" target="_blank">Arosa
                  ClassicCar 2011</a></span></span></p>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
    </blockquote>
    <br>
  </div></div>

<br>--<br>
Yanel-development mailing list <a href="mailto:Yanel-development@wyona.com">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-bin/mailman/listinfo/yanel-development</a><br></blockquote></div><br></div>