<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Am 28.09.11 14:41, schrieb basZero:
<blockquote
cite="mid:CAOXzDSFVyRfvdm2+0vWCj4jHmzL5ohc5oN00rn4XJEK+cjTEeQ@mail.gmail.com"
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>
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>
<br>
Michael<br>
<blockquote
cite="mid:CAOXzDSFVyRfvdm2+0vWCj4jHmzL5ohc5oN00rn4XJEK+cjTEeQ@mail.gmail.com"
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">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">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 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">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>