<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Am 28.09.11 14:55, schrieb basZero:
    <blockquote
cite="mid:CAOXzDSEf5NjvqFcZ+Gv67HSk-ZdoiWzmKZxFtqO3o3o72zBj4w@mail.gmail.com"
      type="cite">Yes, that's what I did yesterday... :-)</blockquote>
    <br>
    good :-)<br>
    <blockquote
cite="mid:CAOXzDSEf5NjvqFcZ+Gv67HSk-ZdoiWzmKZxFtqO3o3o72zBj4w@mail.gmail.com"
      type="cite">
      <div><br>
      </div>
      <div>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.</div>
    </blockquote>
    <br>
    I am not sure I understand. Can you explain a bit?<br>
    <blockquote
cite="mid:CAOXzDSEf5NjvqFcZ+Gv67HSk-ZdoiWzmKZxFtqO3o3o72zBj4w@mail.gmail.com"
      type="cite">
      <div><br>
      </div>
      <div>But I hope it works like this...</div>
    </blockquote>
    <br>
    let me know otherwise<br>
    <br>
    Thanks<br>
    <br>
    Michael<br>
    <blockquote
cite="mid:CAOXzDSEf5NjvqFcZ+Gv67HSk-ZdoiWzmKZxFtqO3o3o72zBj4w@mail.gmail.com"
      type="cite">
      <div>Cheers</div>
      <div>Balz<br>
        <br>
        <div title="signature"> </div>
        <div class="gmail_quote">On Wed, Sep 28, 2011 at 2:52 PM,
          Michael Wechner <span dir="ltr"><<a moz-do-not-send="true"
              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"> Am 28.09.11 14:41,
              schrieb basZero:
              <div class="im">
                <blockquote type="cite">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>
                </blockquote>
                <br>
              </div>
              What about overwriting<br>
              <br>
src/impl/java/org/wyona/security/impl/yarep/YarepUserManager.java#createAlias(...)<br>
src/impl/java/org/wyona/security/impl/yarep/YarepUserManager.java#removeAlias(...)<br>
              <br>
              which are already public methods and implement the actual
              interface?<br>
              <br>
              HTH<br>
              <font color="#888888"> <br>
                Michael</font>
              <div>
                <div class="h5"><br>
                  <blockquote type="cite">
                    <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 moz-do-not-send="true"
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 class="gmail_quote">On Tue, Sep 27, 2011 at
                        10:09 PM, Michael Wechner <span dir="ltr"><<a
                            moz-do-not-send="true"
                            href="mailto:michael.wechner@wyona.com"
                            target="_blank">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>
                              <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><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
                                            moz-do-not-send="true"
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
                            moz-do-not-send="true"
                            href="mailto:Yanel-development@wyona.com"
                            target="_blank">Yanel-development@wyona.com</a><br>
                          <a moz-do-not-send="true"
                            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>
                    <br>
                    <fieldset></fieldset>
                    <br>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
            <br>
            --<br>
            Yanel-development mailing list <a moz-do-not-send="true"
              href="mailto:Yanel-development@wyona.com">Yanel-development@wyona.com</a><br>
            <a moz-do-not-send="true"
              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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>