<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Am 28.09.11 16:57, schrieb basZero:
<blockquote
cite="mid:CAOXzDSH_NG5PVUEBj3b-JbncJEF6P8P9+rr4uCMGmBH2Kyrozg@mail.gmail.com"
type="cite">
<div title="signature"> </div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#FFFFFF" text="#000000">
<div class="im"><br>
<blockquote 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>
</div>
I am not sure I understand. Can you explain a bit?
<div class="im"><br>
</div>
</div>
</blockquote>
</div>
<br>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>but how can I be sure that nobody retrieves the user object
via usermanager and calls the removeAlias method on the user
object?</div>
</blockquote>
<br>
this should not be possible, because the YarepUser#removeAlias(..)
is only available inside the same package as YarepUserManager.<br>
<br>
HTH<br>
<br>
Michael<br>
<br>
<blockquote
cite="mid:CAOXzDSH_NG5PVUEBj3b-JbncJEF6P8P9+rr4uCMGmBH2Kyrozg@mail.gmail.com"
type="cite">
<div> If these two removeAlias() methods behave differently, it's
"dangerous" that something unexpected happens.</div>
<div><br>
</div>
<div>Cheers</div>
<div>Balz</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>